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/i860 | |
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/i860')
-rw-r--r-- | src/emu/cpu/i860/i860dec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/i860/i860dec.c b/src/emu/cpu/i860/i860dec.c index 0e2406651d2..8efb7115b49 100644 --- a/src/emu/cpu/i860/i860dec.c +++ b/src/emu/cpu/i860/i860dec.c @@ -4448,11 +4448,13 @@ static CPU_EXECUTE( i860 ) if (cpustate->pin_reset) reset_i860 (cpustate); if (cpustate->pin_bus_hold) - return cycles; + { + cpustate->icount = 0; + return; + } cpustate->exiting_readmem = 0; cpustate->exiting_ifetch = 0; - cpustate->icount = cycles; /* Decode and execute loop. */ while (cpustate->icount > 0) @@ -4522,8 +4524,6 @@ static CPU_EXECUTE( i860 ) /*if (cpustate->single_stepping) debugger (cpustate); */ } - - return cycles - cpustate->icount; } /*=================================================================*/ |