Dolphin, the GameCube and Wii emulator - Forums

Full Version: HawaiianPunch's Code Patches
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
Basically a place for me to post simple patches to Dolphin, and maybe for some devs to comments. Also any C++ questions I have.

Here's one to start, that should have been fixed ages ago. It fixes when the position of the Dolphin window is negative, changing it to the default 100.
My guess is this should be under "code patches" Big Grin
Except I'll post coding questions and probably not working patches too.
(01-17-2012, 06:14 AM)HawaiianPunch Wrote: [ -> ]Except I'll post coding
questions and probably not working patches too.

I realize that, but it still probably should XD, also you should probably change the title Big Grin
moved away from off topic
(01-18-2012, 03:32 PM)DacoTaco Wrote: [ -> ]moved away from off topic

See ^^ Big Grin
Here's a test to see if anyone's paying attention Tongue
What else do I need to do to add a new checkbox? Dolphin compiles fine, but crashes when I open Config. I'm not even trying to change anything, just add a new box.
You aren't actually creating LoadFiles lol...
I know, I just wanted to add a new checkbox, even if it doesn't do anything. Or better yet, is there a good wxWidgets tutorial that you know of that could supplement my current C++ tutorial?
EDIT: Heh, I got it. Just needed to add
Code:
    LoadFiles = new wxCheckBox(GeneralPage, ID_LOADFILES, _("Load Files"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
    sbBasic->Add(LoadFiles, 0, wxALL, 5);
You aren't even initializing the pointer in the first patch. How should this work, then?
What are you trying to achieve, if I may ask? ;P
Pages: 1 2 3 4 5 6 7