mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
can't hurt to fix that, either, I guess
This commit is contained in:
@ -134,6 +134,7 @@ void LoadSave(const char* path, u32 type)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (type > 8) type = 0;
|
||||||
int sramlen[] = {0, 512, 8192, 65536, 256*1024, 512*1024, 1024*1024, 8192*1024, 32768*1024};
|
int sramlen[] = {0, 512, 8192, 65536, 256*1024, 512*1024, 1024*1024, 8192*1024, 32768*1024};
|
||||||
SRAMLength = sramlen[type];
|
SRAMLength = sramlen[type];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user