summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gba_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gba_memory.c b/gba_memory.c
index ab917c1..8c5541c 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_type)FLASH_SIZE_64KB;
+ sram_size = (sram_size_type)FLASH_SIZE_64KB;
break;
case 0x20000: