summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2014-12-10 15:25:29 +0100
committertwinaphex2014-12-10 15:25:29 +0100
commit4f7ff2b91d7c79dde38ef6ed8b6b459ac1f9d66e (patch)
tree397b9d77b439063e8efe42a147453829e0bb460c
parent8bda867c2b3eba078e74051939d30578825eecf2 (diff)
downloadpicogpsp-4f7ff2b91d7c79dde38ef6ed8b6b459ac1f9d66e.tar.gz
picogpsp-4f7ff2b91d7c79dde38ef6ed8b6b459ac1f9d66e.tar.bz2
picogpsp-4f7ff2b91d7c79dde38ef6ed8b6b459ac1f9d66e.zip
Convert enum to sram_type_size to avoid warning
-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: