mirror of
https://github.com/holub/mame
synced 2025-05-25 23:35:26 +03:00
cottonbm: actually, both cheats are harmful.
This commit is contained in:
parent
98a3efeb51
commit
b14904ef68
@ -414,7 +414,6 @@ static READ32_HANDLER( cottonbm_speedup_r )
|
|||||||
|
|
||||||
return stv_workram_h[0x0ffc10/4];
|
return stv_workram_h[0x0ffc10/4];
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
static void cottonbm_slave_speedup( UINT32 data )
|
static void cottonbm_slave_speedup( UINT32 data )
|
||||||
{
|
{
|
||||||
@ -434,15 +433,16 @@ static void cottonbm_slave_speedup( UINT32 data )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
DRIVER_INIT(cottonbm)
|
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_SELECT, FIRST_SPEEDUP_SLOT);
|
||||||
// cpunum_set_info_int(0, CPUINFO_INT_SH2_PCFLUSH_ADDR, 0x6030ee2);
|
// 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_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_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
|
// 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);
|
DRIVER_INIT_CALL(stv);
|
||||||
|
Loading…
Reference in New Issue
Block a user