about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64compstrings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/x64compstrings.c b/src/emu/x64compstrings.c
index 72781ebb..d61a516c 100644
--- a/src/emu/x64compstrings.c
+++ b/src/emu/x64compstrings.c
@@ -89,8 +89,8 @@ uint32_t sse42_compare_string_explicit_len(x64emu_t* emu, sse_regs_t* mem, int l
     // build intres2
     uint32_t intres2 = intres1;
     switch((imm8>>4)&3) {
-        case 0b01: intres2 ^= ((1<<n_packed)-1);
-        case 0b11: intres2 ^= ((1<<lmem)-1);
+        case 0b01: intres2 ^= ((1<<n_packed)-1); break;
+        case 0b11: intres2 ^= ((1<<lmem)-1); break;
     }
     // and now set the flags
     RESET_FLAGS(emu);