mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 00:00:07 -06:00
Don't use static functions
Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>
This commit is contained in:
@ -620,7 +620,7 @@ void DoSavestate(Savestate* file)
|
|||||||
if (HasSolarSensor) GBACart_SolarSensor::DoSavestate(file);
|
if (HasSolarSensor) GBACart_SolarSensor::DoSavestate(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void LoadROMCommon(const char *sram)
|
void LoadROMCommon(const char *sram)
|
||||||
{
|
{
|
||||||
char gamecode[5] = { '\0' };
|
char gamecode[5] = { '\0' };
|
||||||
memcpy(&gamecode, CartROM + 0xAC, 4);
|
memcpy(&gamecode, CartROM + 0xAC, 4);
|
||||||
|
@ -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;
|
u32 gamecode;
|
||||||
memcpy(&gamecode, CartROM + 0x0C, 4);
|
memcpy(&gamecode, CartROM + 0x0C, 4);
|
||||||
|
Reference in New Issue
Block a user