Fix last commit.

This commit is contained in:
Robin Jones 2023-03-12 18:43:02 +00:00
parent 9b3361b47a
commit 60094a98be
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@
uint8_t rom_db_match_save_type(uint16_t id, uint32_t crc) { uint8_t rom_db_match_save_type(uint16_t id, uint32_t crc) {
if (id == *(uint16_t *)"ED") { if (id == *(uint16_t *)"ED") {
return SAVE_TYPE_CART_SPECIFIED; return DB_SAVE_TYPE_CART_SPECIFIED;
} }
// Match the default entries for crc_high. // Match the default entries for crc_high.

View File

@ -1,4 +1,6 @@
// NOTE: these values are independent on flashcart / OS #include <stdint.h>
// NOTE: these values are independent of flashcart / OS
#define DB_SAVE_TYPE_NONE 0x00 #define DB_SAVE_TYPE_NONE 0x00
#define DB_SAVE_TYPE_EEPROM_4K 0x01 #define DB_SAVE_TYPE_EEPROM_4K 0x01
#define DB_SAVE_TYPE_EEPROM_16K 0x02 #define DB_SAVE_TYPE_EEPROM_16K 0x02