removed (dumb) smart speedups, which were actually breaking the games..

This commit is contained in:
davidhay 2008-01-15 23:22:51 +00:00
parent 2dcaef7186
commit 8efd5fd526
2 changed files with 6 additions and 25 deletions

View File

@ -457,7 +457,7 @@ static READ32_HANDLER( gstream_speedup_r )
{
if (activecpu_get_pc()==0xc0001592)
{
cpu_spinuntil_int();
activecpu_eat_cycles(50);
}
return gstream_workram[0xd1ee0/4];

View File

@ -802,22 +802,12 @@ ROM_START( spotty )
ROM_LOAD( "sou_rom1", 0x000000, 0x40000, CRC(5791195b) SHA1(de0df8f89f395cbf3508b01aeea05675e110ad04) )
ROM_END
static int irq_active(void)
{
UINT32 FCR = activecpu_get_reg(27);
if( !(FCR&(1<<28)) ) // int 1 (irq 5)
return 1;
else
return 0;
}
static READ32_HANDLER( dynabomb_speedup_r )
{
if(activecpu_get_pc() == 0xc25b8)
{
if(irq_active())
cpu_spinuntil_int();
else
activecpu_eat_cycles(50);
}
@ -828,9 +818,6 @@ static READ32_HANDLER( legendoh_speedup_r )
{
if(activecpu_get_pc() == 0x23e32)
{
if(irq_active())
cpu_spinuntil_int();
else
activecpu_eat_cycles(50);
}
@ -841,9 +828,6 @@ static READ32_HANDLER( sb2003_speedup_r )
{
if(activecpu_get_pc() == 0x26da4)
{
if(irq_active())
cpu_spinuntil_int();
else
activecpu_eat_cycles(50);
}
@ -854,9 +838,6 @@ static READ32_HANDLER( spotty_speedup_r )
{
if(activecpu_get_pc() == 0x8560)
{
if(irq_active())
cpu_spinuntil_int();
else
activecpu_eat_cycles(50);
}