Qt: Fix applying savetype-only overrides

This commit is contained in:
Vicki Pfau 2021-04-25 19:02:09 -07:00
parent 063c4d6057
commit 9c7f15ad58
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@ Features:
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
Misc:
- Qt: Rearrange menus some

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;