From d7c0889fe1f608a1b4b07287e7e23dcdf6478024 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 7 Dec 2022 02:05:49 +0100 Subject: [PATCH] Fixed a small bug. --- src/cpu/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c index d667c743e..5030d9ff7 100644 --- a/src/cpu/cpu.c +++ b/src/cpu/cpu.c @@ -1159,7 +1159,7 @@ cpu_set(void) if (cpu_s->cpu_type >= CPU_K6_2) x86_setopcodes(ops_386, ops_k62_0f); # if defined(DEV_BRANCH) && defined(USE_AMD_K5) - else if (cpu_s->cpu_type = CPU_K6) + else if (cpu_s->cpu_type == CPU_K6) x86_setopcodes(ops_386, ops_k6_0f); else x86_setopcodes(ops_386, ops_pentiummmx_0f);