it's 2011, rm speedup hacks

This commit is contained in:
Michaël Banaan Ananas 2011-03-18 23:03:37 +00:00
parent 4d704a6de7
commit 0d30893a3d
4 changed files with 0 additions and 36 deletions

View File

@ -191,10 +191,6 @@ INLINE void lbra( konami_state *cpustate )
{
IMMWORD(cpustate, cpustate->ea);
PC += EA;
/* EHC 980508 speed up busy loop */
if( EA == 0xfffd && cpustate->icount > 0 )
cpustate->icount = 0;
}
/* $17 LBSR relative ----- */
@ -301,9 +297,6 @@ INLINE void bra( konami_state *cpustate )
UINT8 t;
IMMBYTE(cpustate, t);
PC += SIGNED(t);
/* JB 970823 - speed up busy loops */
if( t == 0xfe && cpustate->icount > 0 )
cpustate->icount = 0;
}
/* $21 BRN relative ----- */

View File

@ -230,8 +230,6 @@ OP_HANDLER( bra )
UINT8 t;
IMMBYTE(t);
PC+=SIGNED(t);
/* speed up busy loops */
if (t==0xfe) EAT_CYCLES;
}
/* $21 BRN relative ----- */

View File

@ -34,13 +34,6 @@ OP_HANDLER_BIT( brset )
if (r&bit) {
SEC;
PC+=SIGNED(t);
if (t==0xfd)
{
/* speed up busy loops */
if(cpustate->iCount > 0)
cpustate->iCount = 0;
}
}
}
@ -56,13 +49,6 @@ OP_HANDLER_BIT( brclr )
if (!(r&bit)) {
CLC;
PC+=SIGNED(t);
if (t==0xfd)
{
/* speed up busy loops */
if(cpustate->iCount > 0)
cpustate->iCount = 0;
}
}
}
@ -88,12 +74,6 @@ OP_HANDLER( bra )
UINT8 t;
IMMBYTE(t);
PC+=SIGNED(t);
if (t==0xfe)
{
/* speed up busy loops */
if(cpustate->iCount > 0)
cpustate->iCount = 0;
}
}
/* $21 BRN relative ---- */

View File

@ -195,10 +195,6 @@ OP_HANDLER( lbra )
{
IMMWORD(EAP);
PC += EA;
if ( EA == 0xfffd ) /* EHC 980508 speed up busy loop */
if ( m68_state->icount > 0)
m68_state->icount = 0;
}
/* $17 LBSR relative ----- */
@ -372,9 +368,6 @@ OP_HANDLER( bra )
UINT8 t;
IMMBYTE(t);
PC += SIGNED(t);
/* JB 970823 - speed up busy loops */
if( t == 0xfe )
if( m68_state->icount > 0 ) m68_state->icount = 0;
}
/* $21 BRN relative ----- */