From 187e86ea3be2796da347d75228b721ea7f88d388 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Wed, 11 Oct 2023 17:58:57 +0200 Subject: [PATCH] remove macOS checks I forgot about --- src/frontend/qt_sdl/Config.cpp | 6 +----- src/frontend/qt_sdl/EmuSettingsDialog.cpp | 4 +--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/frontend/qt_sdl/Config.cpp b/src/frontend/qt_sdl/Config.cpp index a32e172a..53eac044 100644 --- a/src/frontend/qt_sdl/Config.cpp +++ b/src/frontend/qt_sdl/Config.cpp @@ -247,11 +247,7 @@ ConfigEntry ConfigFile[] = {"JIT_MaxBlockSize", 0, &JIT_MaxBlockSize, 32, false}, {"JIT_BranchOptimisations", 1, &JIT_BranchOptimisations, true, false}, {"JIT_LiteralOptimisations", 1, &JIT_LiteralOptimisations, true, false}, - #ifdef __APPLE__ - {"JIT_FastMemory", 1, &JIT_FastMemory, false, false}, - #else - {"JIT_FastMemory", 1, &JIT_FastMemory, true, false}, - #endif + {"JIT_FastMemory", 1, &JIT_FastMemory, true, false}, #endif {"ExternalBIOSEnable", 1, &ExternalBIOSEnable, false, false}, diff --git a/src/frontend/qt_sdl/EmuSettingsDialog.cpp b/src/frontend/qt_sdl/EmuSettingsDialog.cpp index f6968291..852af5d1 100644 --- a/src/frontend/qt_sdl/EmuSettingsDialog.cpp +++ b/src/frontend/qt_sdl/EmuSettingsDialog.cpp @@ -493,9 +493,7 @@ void EmuSettingsDialog::on_chkEnableJIT_toggled() bool disabled = !ui->chkEnableJIT->isChecked(); ui->chkJITBranchOptimisations->setDisabled(disabled); ui->chkJITLiteralOptimisations->setDisabled(disabled); - #ifndef __APPLE__ - ui->chkJITFastMemory->setDisabled(disabled); - #endif + ui->chkJITFastMemory->setDisabled(disabled); ui->spnJITMaximumBlockSize->setDisabled(disabled); }