PCSX2 Documentation/The PCSX2 Program Flow: Difference between revisions

Line 17: Line 17:
class Pcsx2App : public wxAppWithHelpers{}
class Pcsx2App : public wxAppWithHelpers{}
</source>
</source>
You can see here that the Pcsx2App class is an extension of the wxAppWithHelpers class. WxWidgets applications are defined as classes, which are instantiated into an object when we start the program. Pcsx2App contains methods that wxWidgets is going to call upon at various times. So what gets called when we fire up Pcsx2App? That would be the OnInit() method which is defined in  There's all kinds of crazy stuff happening here, but what we really care about is this line:
You can see here that the Pcsx2App class is an extension of the wxAppWithHelpers class. WxWidgets applications are defined as classes, which are instantiated into an object when we start the program. Pcsx2App contains methods that wxWidgets is going to call upon at various times. So what gets called when we fire up Pcsx2App? That would be the OnInit() method which is defined in  There's all kinds of crazy stuff happening here, but what we really care about is this line:
'''[https://github.com/PCSX2/pcsx2/blob/master/pcsx2/gui/AppInit.cpp AppInit.cpp]'''
'''[https://github.com/PCSX2/pcsx2/blob/master/pcsx2/gui/AppInit.cpp AppInit.cpp]'''
<source lang="cpp">
<source lang="cpp">
ninja
782

edits