Skip to content

Commit

Permalink
bugfix: Fixed NTSC mode could not be selected in Display panel (fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Dec 27, 2024
1 parent 6505ca8 commit 7fe2a11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/osdep/gui/PanelDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,11 @@ class AmigaScreenActionListener : public gcn::ActionListener
}
else if (i == CHIPSET_REFRESH_PAL) {
cr->rate = 50.0f;
changed_prefs.ntscmode = false;
}
else if (i == CHIPSET_REFRESH_NTSC) {
cr->rate = 60.0f;
changed_prefs.ntscmode = true;
}
if (cr->rate > 0 && cr->rate < 1) {
cr->rate = currprefs.ntscmode ? 60.0f : 50.0f;
Expand Down Expand Up @@ -446,6 +448,7 @@ class AmigaScreenActionListener : public gcn::ActionListener
}

RefreshPanelDisplay();
RefreshPanelQuickstart();
}
};

Expand Down

0 comments on commit 7fe2a11

Please sign in to comment.