mirror of
https://github.com/open-goal/jak-project
synced 2026-07-26 14:40:25 -04:00
Replace printf logging with spdlog equivalent
Preserve previous printfs in comments for now. Spdlog needs to be configured to be thread-safe. Few additional printfs to convert later. No changes have been made to GOAL's internal printing system
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "common/symbols.h"
|
||||
#include "common/versions.h"
|
||||
#include "common/goal_constants.h"
|
||||
#include "third-party/spdlog/include/spdlog/spdlog.h"
|
||||
|
||||
//! Controls link mode when EnableMethodSet = 0, MasterDebug = 1, DiskBoot = 0. Will enable a
|
||||
//! warning message if EnableMethodSet = 1
|
||||
@@ -1895,8 +1896,10 @@ s32 InitHeapAndSymbol() {
|
||||
(kernel_version >> 3) & 0xffff);
|
||||
return -1;
|
||||
} else {
|
||||
printf("Got correct kernel version %d.%d\n", kernel_version >> 0x13,
|
||||
(kernel_version >> 3) & 0xffff);
|
||||
spdlog::info("Got correct kernel version {}.{}", kernel_version >> 0x13,
|
||||
(kernel_version >> 3) & 0xffff);
|
||||
//printf("Got correct kernel version %d.%d\n", kernel_version >> 0x13,
|
||||
// (kernel_version >> 3) & 0xffff);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user