1
0
Fork 0

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:
Peter Veenstra 2011-03-06 16:29:19 +00:00
parent 3610cc8220
commit d97aade01a

View file

@ -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;