summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2014-12-21 09:48:06 +0100
committertwinaphex2014-12-21 09:48:06 +0100
commit9ea187d3a84cb96eb8c5a2053c2c3a7ce7efaeeb (patch)
treea16deed73341251fbab9a4ff081869080eb179fc
parent06022e25590d351e6466778d4f7dbad313824763 (diff)
downloadpicogpsp-9ea187d3a84cb96eb8c5a2053c2c3a7ce7efaeeb.tar.gz
picogpsp-9ea187d3a84cb96eb8c5a2053c2c3a7ce7efaeeb.tar.bz2
picogpsp-9ea187d3a84cb96eb8c5a2053c2c3a7ce7efaeeb.zip
Remove patching of two BIOS ROM locations
-rw-r--r--gba_memory.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gba_memory.c b/gba_memory.c
index c3e92ba..ef18022 100644
--- a/gba_memory.c
+++ b/gba_memory.c
@@ -3522,14 +3522,6 @@ static s32 load_game_config(char *gamepak_title, char *gamepak_code, char *gamep
if(!strcmp(current_variable, "flash_rom_type") &&
!strcmp(current_value, "128KB"))
flash_device_id = FLASH_DEVICE_MACRONIX_128KB;
-
- if(!strcmp(current_variable, "bios_rom_hack_39") &&
- !strcmp(current_value, "yes"))
- bios_rom[0x39] = 0xC0;
-
- if(!strcmp(current_variable, "bios_rom_hack_2C") &&
- !strcmp(current_value, "yes"))
- bios_rom[0x2C] = 0x02;
}
}
@@ -3628,8 +3620,6 @@ u32 load_gamepak(const struct retro_game_info* info, const char *name)
idle_loop_target_pc = 0xFFFFFFFF;
iwram_stack_optimize = 1;
translation_gate_targets = 0;
- bios_rom[0x39] = 0x00;
- bios_rom[0x2C] = 0x00;
flash_device_id = FLASH_DEVICE_MACRONIX_64KB;
if ((load_game_config_over(gamepak_title, gamepak_code, gamepak_maker)) == -1)