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/tlcs900 | |
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/tlcs900')
-rw-r--r-- | src/emu/cpu/tlcs900/tlcs900.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/emu/cpu/tlcs900/tlcs900.c b/src/emu/cpu/tlcs900/tlcs900.c index 7193dfb5c82..6c749badd52 100644 --- a/src/emu/cpu/tlcs900/tlcs900.c +++ b/src/emu/cpu/tlcs900/tlcs900.c @@ -858,8 +858,6 @@ static CPU_EXECUTE( tlcs900 ) { tlcs900_state *cpustate = get_safe_token(device); - cpustate->icount = cycles; - do { const tlcs900inst *inst; @@ -897,8 +895,6 @@ static CPU_EXECUTE( tlcs900 ) cpustate->icount -= cpustate->cycles; } while ( cpustate->icount > 0 ); - - return cycles - cpustate->icount; } |