summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-02-14 06:53:51 +0100
committerLioncash <mathew1800@gmail.com>2018-02-14 07:52:55 +0100
commit2ade136ff48e0385836736d9fe3d39fa0c30e5b3 (patch)
tree4bd6250136eaaf319e965b016e5ebc6aefd7d634
parentnvdrv/interface: Silence formatting specifier warnings (diff)
downloadyuzu-2ade136ff48e0385836736d9fe3d39fa0c30e5b3.tar
yuzu-2ade136ff48e0385836736d9fe3d39fa0c30e5b3.tar.gz
yuzu-2ade136ff48e0385836736d9fe3d39fa0c30e5b3.tar.bz2
yuzu-2ade136ff48e0385836736d9fe3d39fa0c30e5b3.tar.lz
yuzu-2ade136ff48e0385836736d9fe3d39fa0c30e5b3.tar.xz
yuzu-2ade136ff48e0385836736d9fe3d39fa0c30e5b3.tar.zst
yuzu-2ade136ff48e0385836736d9fe3d39fa0c30e5b3.zip
-rw-r--r--src/core/loader/deconstructed_rom_directory.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cpp
index c4e003b74..661803b5f 100644
--- a/src/core/loader/deconstructed_rom_directory.cpp
+++ b/src/core/loader/deconstructed_rom_directory.cpp
@@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include <cinttypes>
#include "common/common_funcs.h"
#include "common/common_paths.h"
#include "common/file_util.h"
@@ -116,7 +117,7 @@ ResultStatus AppLoader_DeconstructedRomDirectory::Load(
const VAddr load_addr = next_load_addr;
next_load_addr = AppLoader_NSO::LoadModule(path, load_addr);
if (next_load_addr) {
- LOG_DEBUG(Loader, "loaded module %s @ 0x%llx", module, load_addr);
+ LOG_DEBUG(Loader, "loaded module %s @ 0x%" PRIx64, module, load_addr);
} else {
next_load_addr = load_addr;
}
@@ -158,8 +159,8 @@ ResultStatus AppLoader_DeconstructedRomDirectory::ReadRomFS(
offset = 0;
size = romfs_file->GetSize();
- LOG_DEBUG(Loader, "RomFS offset: 0x%08X", offset);
- LOG_DEBUG(Loader, "RomFS size: 0x%08X", size);
+ LOG_DEBUG(Loader, "RomFS offset: 0x%016" PRIX64, offset);
+ LOG_DEBUG(Loader, "RomFS size: 0x%016" PRIX64, size);
// Reset read pointer
file.Seek(0, SEEK_SET);