From 7fa93d1694a612f5bc0c13880fba188c5233ee69 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 9 May 2020 17:44:55 -0700 Subject: [PATCH] GBA: Add missing RTC overrides for Legendz games --- CHANGES | 1 + src/gba/overrides.c | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGES b/CHANGES index c735dd44e..e00f1f756 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,7 @@ Features: Emulation fixes: - ARM: Fix ALU reading PC after shifting - ARM: Fix STR storing PC after address calculation + - GBA: Add missing RTC overrides for Legendz games - GBA BIOS: Implement dummy sound driver calls - GBA BIOS: Improve HLE BIOS timing - GBA DMA: Linger last DMA on bus (fixes mgba.io/i/301 and mgba.io/i/1320) diff --git a/src/gba/overrides.c b/src/gba/overrides.c index fc0320b2a..ec40e4449 100644 --- a/src/gba/overrides.c +++ b/src/gba/overrides.c @@ -71,6 +71,13 @@ static const struct GBACartridgeOverride _overrides[] = { // Koro Koro Puzzle - Happy Panechu! { "KHPJ", SAVEDATA_EEPROM, HW_TILT, IDLE_LOOP_NONE, false }, + // Legendz - Yomigaeru Shiren no Shima + { "BLJJ", SAVEDATA_FLASH512, HW_RTC, IDLE_LOOP_NONE, false }, + { "BLJK", SAVEDATA_FLASH512, HW_RTC, IDLE_LOOP_NONE, false }, + + // Legendz - Sign of Nekuromu + { "BLVJ", SAVEDATA_FLASH512, HW_RTC, IDLE_LOOP_NONE, false }, + // Mega Man Battle Network { "AREE", SAVEDATA_SRAM, HW_NONE, 0x800032E, false },