From 60094a98beb6e7d58d251dd29b721c802a1daf7e Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Sun, 12 Mar 2023 18:43:02 +0000 Subject: [PATCH] Fix last commit. --- src/menu/rom_database.c | 2 +- src/menu/rom_database.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/menu/rom_database.c b/src/menu/rom_database.c index 578d729b..8fe5b676 100644 --- a/src/menu/rom_database.c +++ b/src/menu/rom_database.c @@ -4,7 +4,7 @@ uint8_t rom_db_match_save_type(uint16_t id, uint32_t crc) { if (id == *(uint16_t *)"ED") { - return SAVE_TYPE_CART_SPECIFIED; + return DB_SAVE_TYPE_CART_SPECIFIED; } // Match the default entries for crc_high. diff --git a/src/menu/rom_database.h b/src/menu/rom_database.h index 16b47969..e91ba829 100644 --- a/src/menu/rom_database.h +++ b/src/menu/rom_database.h @@ -1,4 +1,6 @@ -// NOTE: these values are independent on flashcart / OS +#include + +// NOTE: these values are independent of flashcart / OS #define DB_SAVE_TYPE_NONE 0x00 #define DB_SAVE_TYPE_EEPROM_4K 0x01 #define DB_SAVE_TYPE_EEPROM_16K 0x02