diff --git a/src/GBACart.cpp b/src/GBACart.cpp index 1e153398..9188408a 100644 --- a/src/GBACart.cpp +++ b/src/GBACart.cpp @@ -620,7 +620,7 @@ void DoSavestate(Savestate* file) if (HasSolarSensor) GBACart_SolarSensor::DoSavestate(file); } -static void LoadROMCommon(const char *sram) +void LoadROMCommon(const char *sram) { char gamecode[5] = { '\0' }; memcpy(&gamecode, CartROM + 0xAC, 4); diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp index d065f6ac..ae051bdf 100644 --- a/src/NDSCart.cpp +++ b/src/NDSCart.cpp @@ -885,7 +885,7 @@ void DecryptSecureArea(u8* out) } } -static bool LoadROMCommon(u32 filelength, const char *sram, bool direct) +bool LoadROMCommon(u32 filelength, const char *sram, bool direct) { u32 gamecode; memcpy(&gamecode, CartROM + 0x0C, 4);