From e21e61ce04fdca8769ec479aa5a7bad075b9d478 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Sun, 19 Oct 2003 19:31:59 +0000 Subject: [PATCH] Little hack to skip CLTS instruction in non-debug mode Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1349 --- src/cpu/core_normal/prefix_0f.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cpu/core_normal/prefix_0f.h b/src/cpu/core_normal/prefix_0f.h index 0871fab1..e0a361d7 100644 --- a/src/cpu/core_normal/prefix_0f.h +++ b/src/cpu/core_normal/prefix_0f.h @@ -121,6 +121,10 @@ *rmrw=(Bit16u)limit; } break; +#if !(C_DEBUG) + CASE_0F_B(0x06) /* CLTS */ + break; +#endif CASE_0F_B(0x20) /* MOV Rd.CRx */ { GetRM;