From c913de1e67d70802687bf5851a2e7f5a52a024d4 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Wed, 3 Jul 2019 22:19:38 +0200 Subject: [PATCH] Fix layeredfs, fix #1280 #1275 #1262 & others --- sysmodules/loader/source/patcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysmodules/loader/source/patcher.c b/sysmodules/loader/source/patcher.c index 9e13cc07..119ee3fa 100644 --- a/sysmodules/loader/source/patcher.c +++ b/sysmodules/loader/source/patcher.c @@ -536,7 +536,7 @@ static inline bool patchLayeredFs(u64 progId, u8 *code, u32 size, u32 textSize, romfsRedirPatchFsMountArchive = 0x100000 + fsMountArchive; romfsRedirPatchFsRegisterArchive = 0x100000 + fsRegisterArchive; romfsRedirPatchArchiveId = archiveId; - memcpy(&romfsRedirPatchRomFsMount, updateRomFsMounts[updateRomFsIndex], 4); + memcpy(&romfsRedirPatchUpdateRomFsMount, updateRomFsMounts[updateRomFsIndex], 4); memcpy(payload, romfsRedirPatch, romfsRedirPatchSize);