mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinWX: provide empty OnCmdLineParsed
Starting in #4916, upon startup wxWidgets pops up an assertion error: > ./src/common/cmdline.cpp(527): assert ""Assert failure"" failed in > FindOptionByAnyName(): Unknown option verbose Fix this by overriding wxApp::OnCmdLineParsed to disable the default handling (since we also disable the default options in DolphinApp::OnInitCmdLine).
This commit is contained in:
@ -84,6 +84,11 @@ void DolphinApp::OnInitCmdLine(wxCmdLineParser& parser)
|
||||
parser.SetCmdLine("");
|
||||
}
|
||||
|
||||
bool DolphinApp::OnCmdLineParsed(wxCmdLineParser& parser)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool DolphinApp::OnInit()
|
||||
{
|
||||
std::lock_guard<std::mutex> lk(s_init_mutex);
|
||||
|
Reference in New Issue
Block a user