diff options
-rw-r--r-- | gba_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gba_memory.c b/gba_memory.c index 9ef3e8e..ab917c1 100644 --- a/gba_memory.c +++ b/gba_memory.c @@ -2125,7 +2125,7 @@ u32 load_backup(char *name) // Could be either flash or SRAM, go with flash case 0x10000: backup_type = BACKUP_FLASH; - sram_size = FLASH_SIZE_64KB; + sram_size = (flash_size_type)FLASH_SIZE_64KB; break; case 0x20000: |