Fix a mistake in loading SRAM/EEP file name

This commit is contained in:
Godzil 2021-04-09 23:09:22 +01:00
parent dd53d5bfd9
commit 8ab6b20815

View File

@ -109,7 +109,7 @@ int ws_init(char *rompath)
ws_memory_init(rom, romSize);
ws_patchRom();
ws_staticRam = (uint8_t *)load_file(ws_ieep_path);
ws_staticRam = (uint8_t *)load_file(ws_sram_path);
if (ws_staticRam == NULL)
{
ws_staticRam = (uint8_t *)create_file(ws_sram_path, 0x10000);