Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DolphinWX: provide empty OnCmdLineParsed #4976

Merged
merged 1 commit into from Feb 27, 2017

Conversation

ligfx
Copy link
Contributor

@ligfx ligfx commented Feb 27, 2017

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).

Starting in dolphin-emu#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).
@ligfx
Copy link
Contributor Author

ligfx commented Feb 27, 2017

@leoetlino

Copy link
Member

@leoetlino leoetlino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, haven't tested tho. Should have tried a debug build :(

@phire phire merged commit d1b343a into dolphin-emu:master Feb 27, 2017
@MayImilae
Copy link
Contributor

Current master (5.0-2635) gives me this error:

img

But this PR fixes it!

@ligfx ligfx deleted the fixwxcommandlineassertion branch May 24, 2017 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants