PCSX2 Documentation/The PCSX2 Program Flow: Difference between revisions
PCSX2 Documentation/The PCSX2 Program Flow (view source)
Revision as of 17:22, 25 February 2015
, 25 February 2015no edit summary
No edit summary |
|||
Line 12: | Line 12: | ||
</source> | </source> | ||
You can see here that the Pcsx2App class is an extension of the wxAppWithHelpers class. Pcsx2App contains methods that wxWidgets is going to call upon at various times. So what gets called when we fire up Pcsx2App? Why that would be the OnInit() method which is defined in [https://github.com/PCSX2/pcsx2/blob/master/pcsx2/gui/AppInit.cpp AppInit.cpp]. | You can see here that the Pcsx2App class is an extension of the wxAppWithHelpers class. Pcsx2App contains methods that wxWidgets is going to call upon at various times. So what gets called when we fire up Pcsx2App? Why that would be the OnInit() method which is defined in [https://github.com/PCSX2/pcsx2/blob/master/pcsx2/gui/AppInit.cpp AppInit.cpp]. | ||
<source lang=cpp> | |||
bool Pcsx2App::OnInit() | |||
{ | |||
EnableAllLogging(); | |||
Console.WriteLn("Interface is initializing. Entering Pcsx2App::OnInit!"); | |||
... | |||
} | |||
</source> | |||
There's all kinds of fun stuff happening here! |