From f1620b43d36b685f24374f4b082ae5481b42a717 Mon Sep 17 00:00:00 2001 From: Shay Date: Thu, 1 Oct 2020 16:53:30 -0600 Subject: [PATCH] Another shot --- game/runtime.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/game/runtime.cpp b/game/runtime.cpp index 2034f8fbf1..5615776b40 100644 --- a/game/runtime.cpp +++ b/game/runtime.cpp @@ -127,10 +127,12 @@ void ee_runner(SystemThreadInterface& iface) { return; } - printf(" Main memory mapped at 0x%016llx\n", (u64)(g_ee_main_mem)); - // spdlog::debug("Main memory mapped at 0x00000") --- todo: printf conversion specification - printf(" Main memory size 0x%x bytes (%.3f MB)\n", EE_MAIN_MEM_SIZE, - (double)EE_MAIN_MEM_SIZE / (1 << 20)); + // printf(" Main memory mapped at 0x%016llx\n", (u64)(g_ee_main_mem)); + spdlog::debug("Main memory mapped at 0x{:016x}", (u64)(g_ee_main_mem)); + // printf(" Main memory size 0x%x bytes (%.3f MB)\n", EE_MAIN_MEM_SIZE, + // (double)EE_MAIN_MEM_SIZE / (1 << 20)); + spdlog::debug("Main memory size 0x{} bytes ({} MB)", EE_MAIN_MEM_SIZE, + (double)EE_MAIN_MEM_SIZE / (1 << 20)); // printf("[EE] Initialization complete!\n"); spdlog::debug("[EE] Initialization complete!");