Skip to content

Commit c913de1

Browse files
committed
Fix layeredfs, fix #1280 #1275 #1262 & others
1 parent c9a5787 commit c913de1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sysmodules/loader/source/patcher.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ static inline bool patchLayeredFs(u64 progId, u8 *code, u32 size, u32 textSize,
536536
romfsRedirPatchFsMountArchive = 0x100000 + fsMountArchive;
537537
romfsRedirPatchFsRegisterArchive = 0x100000 + fsRegisterArchive;
538538
romfsRedirPatchArchiveId = archiveId;
539-
memcpy(&romfsRedirPatchRomFsMount, updateRomFsMounts[updateRomFsIndex], 4);
539+
memcpy(&romfsRedirPatchUpdateRomFsMount, updateRomFsMounts[updateRomFsIndex], 4);
540540

541541
memcpy(payload, romfsRedirPatch, romfsRedirPatchSize);
542542

0 commit comments

Comments
 (0)