From: Toni Wilen Date: Thu, 13 Apr 2023 17:33:53 +0000 (+0300) Subject: Enable JIT FPU when enabling JIT if FPU is already enabled. X-Git-Tag: 5.0.0~82 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=4831990fae377b751cd053018ec2527b8afa4501;p=francis%2Fwinuae.git Enable JIT FPU when enabling JIT if FPU is already enabled. --- diff --git a/od-win32/win32gui.cpp b/od-win32/win32gui.cpp index d631abac..4cf8dcde 100644 --- a/od-win32/win32gui.cpp +++ b/od-win32/win32gui.cpp @@ -13417,9 +13417,12 @@ static void values_from_cpudlg(HWND hDlg, WPARAM wParam) workprefs.comptrustword = trust_prev; workprefs.comptrustlong = trust_prev; workprefs.comptrustnaddr = trust_prev; - if (workprefs.fpu_mode > 0) { + if (workprefs.fpu_mode > 0 || workprefs.fpu_model == 0) { workprefs.compfpu = false; setchecked(hDlg, IDC_JITFPU, false); + } else if (workprefs.fpu_model > 0) { + workprefs.compfpu = true; + setchecked(hDlg, IDC_JITFPU, true); } } if (!workprefs.cachesize) {