change all print* calls to use the new print with a log_level

This commit is contained in:
Resaec
2018-09-23 23:22:25 +02:00
parent 7548c8ecfa
commit 8cc266174d
9 changed files with 79 additions and 54 deletions

View File

@@ -24,6 +24,7 @@
#include "fs_utils.h"
#include "stage2.h"
#include "lib/ini.h"
#include "log.h"
static loader_ctx_t g_loader_ctx = {0};
@@ -103,7 +104,7 @@ static void load_list_entry(const char *key) {
}
static void parse_loadlist(const char *ll) {
printf("Parsing load list: %s\n", ll);
print(SCREEN_LOG_LEVEL_DEBUG, "Parsing load list: %s\n", ll);
char load_list[0x200] = {0};
strncpy(load_list, ll, 0x200 - 1);