summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game_config.txt13
-rw-r--r--gba_memory.c34
2 files changed, 41 insertions, 6 deletions
diff --git a/game_config.txt b/game_config.txt
index a5eb158..5ab76b6 100644
--- a/game_config.txt
+++ b/game_config.txt
@@ -137,6 +137,12 @@ game_code = AAME
vender_code = A4
idle_loop_eliminate_target = 080003d2
+# Defender of The Crown (U) [!]
+game_name = DOTC
+game_code = ADHE
+vender_code = 5N
+idle_loop_eliminate_target = 080007ec
+
# Disney's Aladdin (J) [!]
game_name = ALADDIN
game_code = AJ6J
@@ -724,11 +730,6 @@ vender_code = 01
iwram_stack_optimize = no
-# Defender of The Crown (U)
-game_name = DOTC
-game_code = ADHE
-vender_code = 5N
-idle_loop_eliminate_target = 080007ec
# F-Zero for Game Boy Advance (J)
@@ -864,7 +865,7 @@ game_code = BSLE
vender_code = 41
idle_loop_eliminate_target = 0807785e
-# Final Fantasy IV Advance (U)
+# Final Fantasy IV Advance (U) [!]
game_name = FF4ADVANCE
game_code = BZ4E
vender_code = 01
diff --git a/gba_memory.c b/gba_memory.c
index b03d6b8..0b8afbe 100644
--- a/gba_memory.c
+++ b/gba_memory.c
@@ -2440,6 +2440,23 @@ static const ini_t gbaover[256] = {
0, /* translation_gate_target_3 */
},
{
+ "Defender Of The Crown (U)", /* rom title */
+ "DOTC", /* gamepak_title */
+ "ADHE", /* gamepak_code */
+ "5N", /* gamepak_maker */
+ 0, /* flash_size */
+ 0, /* flash_device_id */
+ 0, /* save_type */
+ 0, /* rtc_enabled */
+ 0, /* mirroring_enabled */
+ 0, /* use_bios */
+ 0x80007ec, /* idle_loop_target_pc */
+ 0, /* iwram_stack_optimize */
+ 0, /* translation_gate_target_1 */
+ 0, /* translation_gate_target_2 */
+ 0, /* translation_gate_target_3 */
+ },
+ {
"Disney's Aladdin (J)", /* rom title */
"ALADDIN", /* gamepak_title */
"AJ6J", /* gamepak_code */
@@ -2508,6 +2525,23 @@ static const ini_t gbaover[256] = {
0, /* translation_gate_target_3 */
},
{
+ "Final Fantasy IV Advance (U)", /* rom title */
+ "FF4ADVANCE", /* gamepak_title */
+ "BZ4E", /* gamepak_code */
+ "01", /* gamepak_maker */
+ 0, /* flash_size */
+ 0, /* flash_device_id */
+ 0, /* save_type */
+ 0, /* rtc_enabled */
+ 0, /* mirroring_enabled */
+ 0, /* use_bios */
+ 0x800fabe, /* idle_loop_target_pc */
+ 1, /* iwram_stack_optimize */
+ 0, /* translation_gate_target_1 */
+ 0, /* translation_gate_target_2 */
+ 0, /* translation_gate_target_3 */
+ },
+ {
"Golden Sun: The Lost Age (U)",/* rom title */
"GOLDEN_SUN_B", /* gamepak_title */
"AGFE", /* gamepak_code */