From 0fb54ae2ba098ab00000c2ce8dc95ea3ad256ac1 Mon Sep 17 00:00:00 2001 From: Dirk Hoffmann Date: Mon, 12 Aug 2024 14:58:52 +0200 Subject: [PATCH] Fixed bugs in config panel --- Emulator/Components/Memory/Memory.cpp | 2 +- GUI/Dialogs/Configuration/CompatibilityConf.swift | 4 +--- GUI/XIB files/Configuration.xib | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Emulator/Components/Memory/Memory.cpp b/Emulator/Components/Memory/Memory.cpp index 26c5ec1c8..f00524fad 100644 --- a/Emulator/Components/Memory/Memory.cpp +++ b/Emulator/Components/Memory/Memory.cpp @@ -715,7 +715,7 @@ Memory::loadExt(MediaFile &file) { try { - RomFile &extFile = dynamic_cast(file); + ExtendedRomFile &extFile = dynamic_cast(file); // Allocate memory allocExt((i32)extFile.data.size); diff --git a/GUI/Dialogs/Configuration/CompatibilityConf.swift b/GUI/Dialogs/Configuration/CompatibilityConf.swift index af94e9750..b59ff6d11 100644 --- a/GUI/Dialogs/Configuration/CompatibilityConf.swift +++ b/GUI/Dialogs/Configuration/CompatibilityConf.swift @@ -111,9 +111,7 @@ extension ConfigurationController { case 1: // Accurate - defaults.set(.DENISE_CLX_SPR_SPR, true) - defaults.set(.DENISE_CLX_SPR_PLF, true) - defaults.set(.DENISE_CLX_PLF_PLF, true) + break case 2: diff --git a/GUI/XIB files/Configuration.xib b/GUI/XIB files/Configuration.xib index fb1457a4c..20d7a42cf 100644 --- a/GUI/XIB files/Configuration.xib +++ b/GUI/XIB files/Configuration.xib @@ -2268,7 +2268,7 @@ DQ - +