From d13caf1b8aade29cc5f54013745880a684dda01f Mon Sep 17 00:00:00 2001 From: TomW Date: Sun, 16 Nov 2014 15:09:27 +0000 Subject: [PATCH] HLT now reduces CPU usage in recompiler. --- src/x86_ops_misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x86_ops_misc.h b/src/x86_ops_misc.h index 7867d56..d255b44 100644 --- a/src/x86_ops_misc.h +++ b/src/x86_ops_misc.h @@ -521,7 +521,7 @@ static int opHLT(uint32_t fetchdat) } if (!((flags&I_FLAG) && pic_intpending)) { - CLOCK_CYCLES(100); + CLOCK_CYCLES_ALWAYS(100); pc--; } else