cottonbm: actually, both cheats are harmful.

This commit is contained in:
R. Belmont 2008-08-09 03:40:56 +00:00
parent 98a3efeb51
commit b14904ef68

View File

@ -414,7 +414,6 @@ static READ32_HANDLER( cottonbm_speedup_r )
return stv_workram_h[0x0ffc10/4];
}
#endif
static void cottonbm_slave_speedup( UINT32 data )
{
@ -434,15 +433,16 @@ static void cottonbm_slave_speedup( UINT32 data )
}
}
}
#endif
DRIVER_INIT(cottonbm)
{
// cpunum_set_info_int(0, CPUINFO_INT_SH2_PCFLUSH_SELECT, FIRST_SPEEDUP_SLOT);
// cpunum_set_info_int(0, CPUINFO_INT_SH2_PCFLUSH_ADDR, 0x6030ee2);
cpunum_set_info_int(1, CPUINFO_INT_SH2_PCFLUSH_SELECT, FIRST_SPEEDUP_SLOT+1);
cpunum_set_info_int(1, CPUINFO_INT_SH2_PCFLUSH_ADDR, 0x6032b52);
// cpunum_set_info_int(1, CPUINFO_INT_SH2_PCFLUSH_SELECT, FIRST_SPEEDUP_SLOT+1);
// cpunum_set_info_int(1, CPUINFO_INT_SH2_PCFLUSH_ADDR, 0x6032b52);
cpunum_set_info_fct(1, CPUINFO_PTR_SH2_FTCSR_READ_CALLBACK, (genf*)cottonbm_slave_speedup );
// cpunum_set_info_fct(1, CPUINFO_PTR_SH2_FTCSR_READ_CALLBACK, (genf*)cottonbm_slave_speedup );
// memory_install_read32_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x60ffc10, 0x60ffc13, 0, 0, cottonbm_speedup_r ); // idle loop of main cpu
DRIVER_INIT_CALL(stv);