mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-09 01:29:23 +00:00
some light formatting and hotkeys for main frame restored
This commit is contained in:
parent
4c5b5f709f
commit
ca64054505
1 changed files with 47 additions and 47 deletions
|
@ -131,7 +131,7 @@ MainFrame::MainFrame()
|
||||||
|
|
||||||
Bind(wxEVT_MENU, &MainFrame::UpdateUI, this, id_update_dbg);
|
Bind(wxEVT_MENU, &MainFrame::UpdateUI, this, id_update_dbg);
|
||||||
|
|
||||||
Bind(wxEVT_KEY_DOWN, &MainFrame::OnKeyDown, this);
|
wxGetApp().Bind(wxEVT_KEY_DOWN, &MainFrame::OnKeyDown, this);
|
||||||
wxGetApp().Bind(wxEVT_DBG_COMMAND, &MainFrame::UpdateUI, this);
|
wxGetApp().Bind(wxEVT_DBG_COMMAND, &MainFrame::UpdateUI, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -441,27 +441,27 @@ void MainFrame::Config(wxCommandEvent& WXUNUSED(event))
|
||||||
|
|
||||||
// Get values from .ini
|
// Get values from .ini
|
||||||
chbox_cpu_ignore_rwerrors->SetValue(Ini.CPUIgnoreRWErrors.GetValue());
|
chbox_cpu_ignore_rwerrors->SetValue(Ini.CPUIgnoreRWErrors.GetValue());
|
||||||
chbox_gs_log_prog->SetValue(Ini.GSLogPrograms.GetValue());
|
chbox_gs_log_prog ->SetValue(Ini.GSLogPrograms.GetValue());
|
||||||
chbox_gs_dump_depth->SetValue(Ini.GSDumpDepthBuffer.GetValue());
|
chbox_gs_dump_depth ->SetValue(Ini.GSDumpDepthBuffer.GetValue());
|
||||||
chbox_gs_dump_color->SetValue(Ini.GSDumpColorBuffers.GetValue());
|
chbox_gs_dump_color ->SetValue(Ini.GSDumpColorBuffers.GetValue());
|
||||||
chbox_gs_vsync->SetValue(Ini.GSVSyncEnable.GetValue());
|
chbox_gs_vsync ->SetValue(Ini.GSVSyncEnable.GetValue());
|
||||||
chbox_audio_dump->SetValue(Ini.AudioDumpToFile.GetValue());
|
chbox_audio_dump ->SetValue(Ini.AudioDumpToFile.GetValue());
|
||||||
chbox_hle_logging->SetValue(Ini.HLELogging.GetValue());
|
chbox_hle_logging ->SetValue(Ini.HLELogging.GetValue());
|
||||||
chbox_hle_hook_stfunc->SetValue(Ini.HLEHookStFunc.GetValue());
|
chbox_hle_hook_stfunc ->SetValue(Ini.HLEHookStFunc.GetValue());
|
||||||
chbox_hle_savetty->SetValue(Ini.HLESaveTTY.GetValue());
|
chbox_hle_savetty ->SetValue(Ini.HLESaveTTY.GetValue());
|
||||||
chbox_hle_exitonstop->SetValue(Ini.HLEExitOnStop.GetValue());
|
chbox_hle_exitonstop ->SetValue(Ini.HLEExitOnStop.GetValue());
|
||||||
|
|
||||||
cbox_cpu_decoder->SetSelection(Ini.CPUDecoderMode.GetValue() ? Ini.CPUDecoderMode.GetValue() - 1 : 0);
|
cbox_cpu_decoder ->SetSelection(Ini.CPUDecoderMode.GetValue() ? Ini.CPUDecoderMode.GetValue() - 1 : 0);
|
||||||
cbox_spu_decoder->SetSelection(Ini.SPUDecoderMode.GetValue() ? Ini.SPUDecoderMode.GetValue() - 1 : 0);
|
cbox_spu_decoder ->SetSelection(Ini.SPUDecoderMode.GetValue() ? Ini.SPUDecoderMode.GetValue() - 1 : 0);
|
||||||
cbox_gs_render->SetSelection(Ini.GSRenderMode.GetValue());
|
cbox_gs_render ->SetSelection(Ini.GSRenderMode.GetValue());
|
||||||
cbox_gs_resolution->SetSelection(ResolutionIdToNum(Ini.GSResolution.GetValue()) - 1);
|
cbox_gs_resolution ->SetSelection(ResolutionIdToNum(Ini.GSResolution.GetValue()) - 1);
|
||||||
cbox_gs_aspect->SetSelection(Ini.GSAspectRatio.GetValue() - 1);
|
cbox_gs_aspect ->SetSelection(Ini.GSAspectRatio.GetValue() - 1);
|
||||||
cbox_pad_handler->SetSelection(Ini.PadHandlerMode.GetValue());
|
cbox_pad_handler ->SetSelection(Ini.PadHandlerMode.GetValue());
|
||||||
cbox_keyboard_handler->SetSelection(Ini.KeyboardHandlerMode.GetValue());
|
cbox_keyboard_handler->SetSelection(Ini.KeyboardHandlerMode.GetValue());
|
||||||
cbox_mouse_handler->SetSelection(Ini.MouseHandlerMode.GetValue());
|
cbox_mouse_handler ->SetSelection(Ini.MouseHandlerMode.GetValue());
|
||||||
cbox_audio_out->SetSelection(Ini.AudioOutMode.GetValue());
|
cbox_audio_out ->SetSelection(Ini.AudioOutMode.GetValue());
|
||||||
cbox_hle_loglvl->SetSelection(Ini.HLELogLvl.GetValue());
|
cbox_hle_loglvl ->SetSelection(Ini.HLELogLvl.GetValue());
|
||||||
cbox_sys_lang->SetSelection(Ini.SysLanguage.GetValue());
|
cbox_sys_lang ->SetSelection(Ini.SysLanguage.GetValue());
|
||||||
|
|
||||||
|
|
||||||
// Enable / Disable parameters
|
// Enable / Disable parameters
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue