can't hurt to fix that, either, I guess

This commit is contained in:
StapleButter 2018-12-12 03:18:14 +01:00
parent a8f2267a18
commit affe1c084f
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ void LoadSave(const char* path, u32 type)
}
else
{
if (type > 8) type = 0;
int sramlen[] = {0, 512, 8192, 65536, 256*1024, 512*1024, 1024*1024, 8192*1024, 32768*1024};
SRAMLength = sramlen[type];