From 3a0a7f9ddbfd545403749110bb100c38bff5ebed Mon Sep 17 00:00:00 2001 From: Fazana <52551480+FazanaJ@users.noreply.github.com> Date: Thu, 2 Sep 2021 20:47:09 +0100 Subject: [PATCH] ROM header now contains correct savetype data Should you change what save type you use, the rom will have the correct savetype in the header. --- asm/rom_header.s | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/asm/rom_header.s b/asm/rom_header.s index 763a5b78d..8e3280686 100644 --- a/asm/rom_header.s +++ b/asm/rom_header.s @@ -8,7 +8,17 @@ .word entry_point /* Entrypoint */ /* Revision */ +#if defined(SRAM) +.word 0x0000344C +#elif defined(EEP16K) +.word 0x0000244C +#elif defined(SRAM768K) +.word 0x0000444C +#elif defined(FLASHRAM) +.word 0x0000544C +#else .word 0x0000144C +#endif .word 0x00000000 /* Checksum 1 */ .word 0x00000000 /* Checksum 2 */