OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aad9f33
)
[VM][V30] .
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Fri, 11 Oct 2019 10:18:25 +0000
(19:18 +0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Fri, 11 Oct 2019 10:18:25 +0000
(19:18 +0900)
source/src/vm/mame/emu/cpu/i86/v30.c
patch
|
blob
|
history
diff --git
a/source/src/vm/mame/emu/cpu/i86/v30.c
b/source/src/vm/mame/emu/cpu/i86/v30.c
index
775d703
..
a6ffd29
100644
(file)
--- a/
source/src/vm/mame/emu/cpu/i86/v30.c
+++ b/
source/src/vm/mame/emu/cpu/i86/v30.c
@@
-371,7
+371,6
@@
CPU_EXECUTE( v30 )
/* adjust for any interrupts that came in */
cpustate->icount -= cpustate->extra_cycles;
- cpustate->extra_cycles = 0;
/* if busreq is raised, spin cpu while remained clock */
if (cpustate->icount > 0) {
@@
-381,6
+380,7
@@
CPU_EXECUTE( v30 )
cpustate->total_icount += base_icount - cpustate->icount;
//#endif
cpu_wait_v30(cpustate, base_icount - cpustate->icount);
+ cpustate->extra_cycles = 0;
return base_icount - cpustate->icount;
}
}