From 9ea187d3a84cb96eb8c5a2053c2c3a7ce7efaeeb Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 21 Dec 2014 09:48:06 +0100 Subject: [PATCH] Remove patching of two BIOS ROM locations --- gba_memory.c | 10 ---------- 1 file changed, 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)