Qt: Fix applying savetype-only overrides

This commit is contained in:
Vicki Pfau 2021-04-25 19:02:09 -07:00
parent 135d1a10ca
commit 31ef54ca9d
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
Other fixes:
- Core: Fix memory leak in opening games from the library
- Qt: Fix infrequent deadlock when using sync to video
- Qt: Fix applying savetype-only overrides
0.9.1: (2021-04-18)
Emulation fixes:

View File

@ -146,6 +146,9 @@ void OverrideView::updateOverrides() {
gba->override.vbaBugCompat = false;
gba->vbaBugCompatSet = false;
if (gba->override.savetype != SAVEDATA_AUTODETECT) {
hasOverride = true;
}
if (!m_ui.hwAutodetect->isChecked()) {
hasOverride = true;
gba->override.hardware = HW_NONE;