SPU2: add back configuration GUI

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2020-09-25 01:30:34 +02:00 committed by refractionpcsx2
parent b6356eb5f8
commit e8c50aaadf
3 changed files with 8 additions and 0 deletions

View File

@ -238,6 +238,7 @@ void MainEmuFrame::ConnectMenus()
Bind(wxEVT_MENU, &MainEmuFrame::Menu_SysSettings_Click, this, MenuId_Config_SysSettings);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_McdSettings_Click, this, MenuId_Config_McdSettings);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_SelectPluginsBios_Click, this, MenuId_Config_BIOS);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_AudioSettings_Click, this, MenuId_Config_SPU2);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_GSSettings_Click, this, MenuId_Video_CoreSettings);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_WindowSettings_Click, this, MenuId_Video_WindowSettings);
@ -427,6 +428,7 @@ void MainEmuFrame::CreateConfigMenu()
m_menuConfig.Append(MenuId_Config_SysSettings, _("Emulation &Settings...") );
m_menuConfig.Append(MenuId_Config_McdSettings, _("&Memory Cards...") );
m_menuConfig.Append(MenuId_Config_BIOS, _("&Plugin/BIOS Selector...") );
m_menuConfig.Append(MenuId_Config_SPU2, _("&Audio Settings...") );
m_menuConfig.AppendSeparator();

View File

@ -186,6 +186,7 @@ protected:
void OnActivate( wxActivateEvent& evt );
void Menu_SysSettings_Click(wxCommandEvent &event);
void Menu_AudioSettings_Click(wxCommandEvent &event);
void Menu_McdSettings_Click(wxCommandEvent &event);
void Menu_WindowSettings_Click(wxCommandEvent &event);
void Menu_GSSettings_Click(wxCommandEvent &event);

View File

@ -45,6 +45,11 @@ void MainEmuFrame::Menu_SysSettings_Click(wxCommandEvent &event)
AppOpenDialog<SysConfigDialog>( this );
}
void MainEmuFrame::Menu_AudioSettings_Click(wxCommandEvent &event)
{
SPU2configure();
}
void MainEmuFrame::Menu_McdSettings_Click(wxCommandEvent &event)
{
ScopedCoreThreadClose closed_core;