Fix wrongly replaced arguments
This commit is contained in:
parent
ac4d85ca16
commit
4d2cbf271c
@ -241,11 +241,12 @@ void ArchiveFactory_SelfNCCH::Register(Loader::AppLoader& app_loader) {
|
|||||||
"Could not read program id when registering with SelfNCCH, this might be a 3dsx file");
|
"Could not read program id when registering with SelfNCCH, this might be a 3dsx file");
|
||||||
}
|
}
|
||||||
|
|
||||||
NGLOG_DEBUG(Service_FS, "Registering program {} with the SelfNCCH archive factory", program_id);
|
NGLOG_DEBUG(Service_FS, "Registering program {:016X} with the SelfNCCH archive factory",
|
||||||
|
program_id);
|
||||||
|
|
||||||
if (ncch_data.find(program_id) != ncch_data.end()) {
|
if (ncch_data.find(program_id) != ncch_data.end()) {
|
||||||
NGLOG_WARNING(Service_FS,
|
NGLOG_WARNING(Service_FS,
|
||||||
"Registering program {} with SelfNCCH will override existing mapping",
|
"Registering program {:016X} with SelfNCCH will override existing mapping",
|
||||||
program_id);
|
program_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ PageTable* GetCurrentPageTable() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void MapPages(PageTable& page_table, u32 base, u32 size, u8* memory, PageType type) {
|
static void MapPages(PageTable& page_table, u32 base, u32 size, u8* memory, PageType type) {
|
||||||
NGLOG_DEBUG(HW_Memory, "Mapping {} onto {:08X}-{:08X}", memory, base * PAGE_SIZE,
|
NGLOG_DEBUG(HW_Memory, "Mapping {} onto {:08X}-{:08X}", (void*)memory, base * PAGE_SIZE,
|
||||||
(base + size) * PAGE_SIZE);
|
(base + size) * PAGE_SIZE);
|
||||||
|
|
||||||
RasterizerFlushVirtualRegion(base << PAGE_BITS, size * PAGE_SIZE,
|
RasterizerFlushVirtualRegion(base << PAGE_BITS, size * PAGE_SIZE,
|
||||||
|
Loading…
Reference in New Issue
Block a user