gs: add back configuration menu

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2021-05-13 17:42:54 +02:00 committed by Kojin
parent 9422e32f23
commit 707d2dae71
2 changed files with 7 additions and 7 deletions

View File

@ -277,6 +277,7 @@ void MainEmuFrame::ConnectMenus()
Bind(wxEVT_MENU, &MainEmuFrame::Menu_NetworkSettings_Click, this, MenuId_Config_DEV9);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_USBSettings_Click, this, MenuId_Config_USB);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_PADSettings_Click, this, MenuId_Config_PAD);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_GSSettings_Click, this, MenuId_Config_GS);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_GSSettings_Click, this, MenuId_Video_CoreSettings);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_WindowSettings_Click, this, MenuId_Video_WindowSettings);
@ -447,6 +448,7 @@ void MainEmuFrame::CreateConfigMenu()
m_menuConfig.Append(MenuId_Config_DEV9, _("&Network and HDD Settings..."));
m_menuConfig.Append(MenuId_Config_USB, _("&USB Settings..."));
m_menuConfig.Append(MenuId_Config_PAD, _("&GamePad Settings..."));
m_menuConfig.Append(MenuId_Config_GS, _("&Graphical Settings..."));
m_menuConfig.AppendSeparator();
m_menuConfig.Append(MenuId_Config_Multitap0Toggle, _("Multitap &1"), wxEmptyString, wxITEM_CHECK);

View File

@ -88,6 +88,11 @@ void MainEmuFrame::Menu_PADSettings_Click(wxCommandEvent& event)
PADconfigure();
}
void MainEmuFrame::Menu_GSSettings_Click(wxCommandEvent& event)
{
GSconfigure();
}
void MainEmuFrame::Menu_WindowSettings_Click(wxCommandEvent& event)
{
wxCommandEvent evt(pxEvt_SetSettingsPage);
@ -95,13 +100,6 @@ void MainEmuFrame::Menu_WindowSettings_Click(wxCommandEvent& event)
AppOpenDialog<SysConfigDialog>(this)->GetEventHandler()->ProcessEvent(evt);
}
void MainEmuFrame::Menu_GSSettings_Click(wxCommandEvent& event)
{
wxCommandEvent evt(pxEvt_SetSettingsPage);
evt.SetString(L"GS");
AppOpenDialog<SysConfigDialog>(this)->GetEventHandler()->ProcessEvent(evt);
}
void MainEmuFrame::Menu_SelectBios_Click(wxCommandEvent& event)
{
AppOpenDialog<ComponentsConfigDialog>(this);