diff options
author | 2010-06-09 16:20:50 +0000 | |
---|---|---|
committer | 2010-06-09 16:20:50 +0000 | |
commit | eba2c140607c146d368e48539bd11e87fdfbeed6 (patch) | |
tree | ac3fa335cf9f364420c435ee2eeaf44173dab0e7 /src/emu/cpu/h6280 | |
parent | ebdc4525f96f465a61acb76c728de48b3a89800c (diff) |
Change cpu execute function to just use the icount stuffed by
the scheduler, rather than manging an incoming cycle count. It was
confusing to have multiple sources of cycle counts.
Diffstat (limited to 'src/emu/cpu/h6280')
-rw-r--r-- | src/emu/cpu/h6280/h6280.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/emu/cpu/h6280/h6280.c b/src/emu/cpu/h6280/h6280.c index c8cbb119bee..2df7d213f32 100644 --- a/src/emu/cpu/h6280/h6280.c +++ b/src/emu/cpu/h6280/h6280.c @@ -216,8 +216,6 @@ static CPU_EXECUTE( h6280 ) int in; h6280_Regs* cpustate = get_safe_token(device); - cpustate->ICount = cycles; - if ( cpustate->irq_pending == 2 ) { cpustate->irq_pending--; } @@ -258,8 +256,6 @@ static CPU_EXECUTE( h6280 ) } } } while (cpustate->ICount > 0); - - return cycles - cpustate->ICount; } /*****************************************************************************/ |