Remove patching of two BIOS ROM locations

This commit is contained in:
twinaphex 2014-12-21 09:48:06 +01:00
parent 06022e2559
commit 9ea187d3a8
1 changed files with 0 additions and 10 deletions

View File

@ -3522,14 +3522,6 @@ static s32 load_game_config(char *gamepak_title, char *gamepak_code, char *gamep
if(!strcmp(current_variable, "flash_rom_type") && if(!strcmp(current_variable, "flash_rom_type") &&
!strcmp(current_value, "128KB")) !strcmp(current_value, "128KB"))
flash_device_id = FLASH_DEVICE_MACRONIX_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; idle_loop_target_pc = 0xFFFFFFFF;
iwram_stack_optimize = 1; iwram_stack_optimize = 1;
translation_gate_targets = 0; translation_gate_targets = 0;
bios_rom[0x39] = 0x00;
bios_rom[0x2C] = 0x00;
flash_device_id = FLASH_DEVICE_MACRONIX_64KB; flash_device_id = FLASH_DEVICE_MACRONIX_64KB;
if ((load_game_config_over(gamepak_title, gamepak_code, gamepak_maker)) == -1) if ((load_game_config_over(gamepak_title, gamepak_code, gamepak_maker)) == -1)