From d97aade01af5047795ec759bcdfdaeb120842029 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Sun, 6 Mar 2011 16:29:19 +0000 Subject: [PATCH] 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 --- src/cpu/cpu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/cpu.cpp b/src/cpu/cpu.cpp index 363b091b..8e75211b 100644 --- a/src/cpu/cpu.cpp +++ b/src/cpu/cpu.cpp @@ -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;