diff options
| author | 2018-02-14 00:53:51 -0500 | |
|---|---|---|
| committer | 2018-02-14 01:52:55 -0500 | |
| commit | 2ade136ff48e0385836736d9fe3d39fa0c30e5b3 (patch) | |
| tree | 4bd6250136eaaf319e965b016e5ebc6aefd7d634 /src/core/loader | |
| parent | nvdrv/interface: Silence formatting specifier warnings (diff) | |
| download | yuzu-2ade136ff48e0385836736d9fe3d39fa0c30e5b3.tar.gz yuzu-2ade136ff48e0385836736d9fe3d39fa0c30e5b3.tar.xz yuzu-2ade136ff48e0385836736d9fe3d39fa0c30e5b3.zip | |
deconstructed_rom_directory: Silence formatting specifier warnings
Diffstat (limited to 'src/core/loader')
| -rw-r--r-- | src/core/loader/deconstructed_rom_directory.cpp | 7 |
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 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <cinttypes> | ||
| 5 | #include "common/common_funcs.h" | 6 | #include "common/common_funcs.h" |
| 6 | #include "common/common_paths.h" | 7 | #include "common/common_paths.h" |
| 7 | #include "common/file_util.h" | 8 | #include "common/file_util.h" |
| @@ -116,7 +117,7 @@ ResultStatus AppLoader_DeconstructedRomDirectory::Load( | |||
| 116 | const VAddr load_addr = next_load_addr; | 117 | const VAddr load_addr = next_load_addr; |
| 117 | next_load_addr = AppLoader_NSO::LoadModule(path, load_addr); | 118 | next_load_addr = AppLoader_NSO::LoadModule(path, load_addr); |
| 118 | if (next_load_addr) { | 119 | if (next_load_addr) { |
| 119 | LOG_DEBUG(Loader, "loaded module %s @ 0x%llx", module, load_addr); | 120 | LOG_DEBUG(Loader, "loaded module %s @ 0x%" PRIx64, module, load_addr); |
| 120 | } else { | 121 | } else { |
| 121 | next_load_addr = load_addr; | 122 | next_load_addr = load_addr; |
| 122 | } | 123 | } |
| @@ -158,8 +159,8 @@ ResultStatus AppLoader_DeconstructedRomDirectory::ReadRomFS( | |||
| 158 | offset = 0; | 159 | offset = 0; |
| 159 | size = romfs_file->GetSize(); | 160 | size = romfs_file->GetSize(); |
| 160 | 161 | ||
| 161 | LOG_DEBUG(Loader, "RomFS offset: 0x%08X", offset); | 162 | LOG_DEBUG(Loader, "RomFS offset: 0x%016" PRIX64, offset); |
| 162 | LOG_DEBUG(Loader, "RomFS size: 0x%08X", size); | 163 | LOG_DEBUG(Loader, "RomFS size: 0x%016" PRIX64, size); |
| 163 | 164 | ||
| 164 | // Reset read pointer | 165 | // Reset read pointer |
| 165 | file.Seek(0, SEEK_SET); | 166 | file.Seek(0, SEEK_SET); |