diff --git a/arm9/source/patches/arm7/sdk5/Sdk5DsiSdCardRedirectPatch.cpp b/arm9/source/patches/arm7/sdk5/Sdk5DsiSdCardRedirectPatch.cpp index 51c502e..d7774e2 100644 --- a/arm9/source/patches/arm7/sdk5/Sdk5DsiSdCardRedirectPatch.cpp +++ b/arm9/source/patches/arm7/sdk5/Sdk5DsiSdCardRedirectPatch.cpp @@ -3,7 +3,7 @@ #include "ndsHeader.h" #include "moduleParams.h" #include "patches/platform/LoaderPlatform.h" -#include "Sdk5DsiSdCardRedirectPatchAsm.h" +#include "Sdk5DsiSdCardRedirectPatchCode.h" #include "Sdk5DsiSdCardRedirectPatch.h" static const u32 sAttachFunctionPattern[] = { 0xE92D4018u, 0xE24DDF5Du, 0xE24DDB01u, 0xE59FE050u }; diff --git a/arm9/source/patches/arm7/sdk5/Sdk5DsiSdCardRedirectPatchAsm.h b/arm9/source/patches/arm7/sdk5/Sdk5DsiSdCardRedirectPatchCode.h similarity index 100% rename from arm9/source/patches/arm7/sdk5/Sdk5DsiSdCardRedirectPatchAsm.h rename to arm9/source/patches/arm7/sdk5/Sdk5DsiSdCardRedirectPatchCode.h diff --git a/arm9/source/patches/arm9/OSResetSystemPatchCode.h b/arm9/source/patches/arm9/OSResetSystemPatchCode.h index a46db77..d6f0aab 100644 --- a/arm9/source/patches/arm9/OSResetSystemPatchCode.h +++ b/arm9/source/patches/arm9/OSResetSystemPatchCode.h @@ -34,11 +34,11 @@ class OSResetSystemPatchCode : public PatchCode { public: OSResetSystemPatchCode(PatchHeap& patchHeap, const loader_info_t* loaderInfo, - const IReadSectorsPatchCode* sdReadPatchCode, const OSResetSystemPart2PatchCode* part2PatchCode) + const IReadSectorsPatchCode* readSectorsPatchCode, const OSResetSystemPart2PatchCode* part2PatchCode) : PatchCode(SECTION_START(patch_osresetsystem), SECTION_SIZE(patch_osresetsystem), patchHeap) { patch_osresetsystem_loader_info_address = loaderInfo; - patch_osresetsystem_readSdSectors_address = (u32)sdReadPatchCode->GetReadSectorsFunction(); + patch_osresetsystem_readSdSectors_address = (u32)readSectorsPatchCode->GetReadSectorsFunction(); patch_osresetsystem_bootPicoLoader_address = (u32)part2PatchCode->GetOSResetSystemPart2Function(); }