Skip to content

Commit

Permalink
bugfix: Refresh RTG panel when CPU changes are modified
Browse files Browse the repository at this point in the history
- The 24-bit addressing option blocks RTG cards from being used. When it's disabled, the RTG panel should refresh, to enable any relevant widgets
- Fixed navigation in RTG panel (the VRAM slider could not be accessed)
  • Loading branch information
midwan committed Sep 13, 2024
1 parent 2eab647 commit e0e6606
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/osdep/gui/PanelCPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class CPUButtonActionListener : public gcn::ActionListener
RefreshPanelCPU();
RefreshPanelRAM();
RefreshPanelChipset();
RefreshPanelRTG();
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/osdep/gui/PanelRTG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void InitPanelRTG(const config_category& category)
sldGfxmem->setForegroundColor(gui_foreground_color);
sldGfxmem->setMarkerLength(marker_length);
sldGfxmem->setStepLength(1);
sldGfxmem->setId("Gfxmem");
sldGfxmem->setId("sldGfxmem");
sldGfxmem->addActionListener(rtg_action_listener);

chkRtgMatchDepth = new gcn::CheckBox("Match host and RTG color depth if possible");
Expand Down

0 comments on commit e0e6606

Please sign in to comment.