Keep proper track of halted cycles. h-a-l-9000 and ripsaw. Improves MPXPLAY
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3683
This commit is contained in:
parent
3610cc8220
commit
d97aade01a
1 changed files with 1 additions and 0 deletions
|
@ -2048,6 +2048,7 @@ static Bits HLT_Decode(void) {
|
|||
if (reg_eip!=cpu.hlt.eip || SegValue(cs) != cpu.hlt.cs) {
|
||||
cpudecoder=cpu.hlt.old_decoder;
|
||||
} else {
|
||||
CPU_IODelayRemoved += CPU_Cycles;
|
||||
CPU_Cycles=0;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue