From b89210e14eedea3ad4304663fb1e1337247e39d1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 21 Dec 2014 07:41:57 +0100 Subject: Add more entries to gbaover --- game_config.txt | 30 ++++++++--------- gba_memory.c | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+), 15 deletions(-) diff --git a/game_config.txt b/game_config.txt index dcce9ce..2ec43cb 100644 --- a/game_config.txt +++ b/game_config.txt @@ -238,8 +238,19 @@ vender_code = 01 idle_loop_eliminate_target = 08000fae iwram_stack_optimize = no +# F-Zero for Game Boy Advance (J) [!] +game_name = F-ZERO ADVAN +game_code = AFZJ +vender_code = 01 +idle_loop_eliminate_target = 08000c2e + +# F-Zero - Maximum Velocity (U) [!] +game_name = F-ZERO ADVAN +game_code = AFZE +vender_code = 01 +idle_loop_eliminate_target = 08000c2e -# F-Zero: Climax (J) +# F-Zero: Climax (J) [!] game_name = F-ZEROCLIMAX game_code = BFTJ vender_code = 01 @@ -378,7 +389,7 @@ idle_loop_eliminate_target = 08014e0a translation_gate_target = 03000d00 translation_gate_target = 03000a30 -# Mario Vs Donkey Kong (U) +# Mario Vs Donkey Kong (U) [!] game_name = MARIOVSDK game_code = BM5E vender_code = 01 @@ -573,17 +584,6 @@ vender_code = 01 iwram_stack_optimize = no -# F-Zero for Game Boy Advance (J) -game_name = F-ZERO ADVAN -game_code = AFZJ -vender_code = 01 -idle_loop_eliminate_target = 08000c2e - -# F-Zero - Maximum Velocity (U) -game_name = F-ZERO ADVAN -game_code = AFZE -vender_code = 01 -idle_loop_eliminate_target = 08000c2e # Pinball Challenge Deluxe (E) @@ -972,13 +972,13 @@ idle_loop_eliminate_target = 0800fabe # or try 00000430 -# Final Fight One (E) +# Final Fight One (E) [!] game_name = FINAL FIGHT game_code = AFFP vender_code = 08 idle_loop_eliminate_target = 0800b428 -# Final Fight One (U) +# Final Fight One (U) [!] game_name = FINAL FIGHT game_code = AFFE vender_code = 08 diff --git a/gba_memory.c b/gba_memory.c index 456cf16..0d54894 100644 --- a/gba_memory.c +++ b/gba_memory.c @@ -2524,6 +2524,57 @@ static const ini_t gbaover[256] = { 0, /* translation_gate_target_2 */ 0, /* translation_gate_target_3 */ }, + { + "F-Zero for Game Boy Advance (J)", /* rom title */ + "F-ZERO ADVAN", /* gamepak_title */ + "AFZJ", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x8000c2e, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "F-Zero - Maximum Velocity (U)", /* rom title */ + "F-ZERO ADVAN", /* gamepak_title */ + "AFZE", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x8000c2e, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "F-Zero: Climax (U)", /* rom title */ + "F-ZEROCLIMAX", /* gamepak_title */ + "BFTJ", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + FLASH_DEVICE_MACRONIX_128KB, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, { "Final Fantasy IV Advance (U)", /* rom title */ "FF4ADVANCE", /* gamepak_title */ @@ -2558,6 +2609,40 @@ static const ini_t gbaover[256] = { 0, /* translation_gate_target_2 */ 0, /* translation_gate_target_3 */ }, + { + "Final Fight One (E)", /* rom title */ + "FINAL FIGHT", /* gamepak_title */ + "AFFP", /* gamepak_code */ + "08", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x800b428, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, + { + "Final Fight One (U)", /* rom title */ + "FINAL FIGHT", /* gamepak_title */ + "AFFE", /* gamepak_code */ + "08", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x800b428, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, { "Game Boy Wars Advance 1+2 (J)",/* rom title */ "GBWARS1+2", /* gamepak_title */ @@ -2592,6 +2677,23 @@ static const ini_t gbaover[256] = { 0, /* translation_gate_target_2 */ 0, /* translation_gate_target_3 */ }, + { + "Mario Vs Donkey Kong (U)", /* rom title */ + "MARIOVSDK", /* gamepak_title */ + "BM5E", /* gamepak_code */ + "01", /* gamepak_maker */ + 0, /* flash_size */ + 0, /* flash_device_id */ + 0, /* save_type */ + 0, /* rtc_enabled */ + 0, /* mirroring_enabled */ + 0, /* use_bios */ + 0x8033eec, /* idle_loop_target_pc */ + 1, /* iwram_stack_optimize */ + 0, /* translation_gate_target_1 */ + 0, /* translation_gate_target_2 */ + 0, /* translation_gate_target_3 */ + }, { "Megaman Battle Network (E)",/* rom title */ "MEGAMANEXEBN", /* gamepak_title */ -- cgit v1.2.3