PCSX2 Documentation/The PCSX2 Program Flow: Difference between revisions

From PCSX2 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==AppMain.cpp - this is where the fun begins!==
==AppMain.cpp - this is where the fun begins!==
There is a lot that happens under the hood with wxWidgets. We don't need to worry about that. All we need to worry about is this this line of code here:
There is a lot that happens under the hood with wxWidgets. We don't need to worry about that. All we need to worry about is this this line of code in [https://github.com/PCSX2/pcsx2/blob/master/pcsx2/gui/AppMain.cpp AppMain.cpp].
<source lang="cpp">IMPLEMENT_APP(Pcsx2App)</source>
<source lang="cpp">IMPLEMENT_APP(Pcsx2App)</source>
which can be found in [https://github.com/PCSX2/pcsx2/blob/master/pcsx2/gui/AppMain.cpp AppMain.cpp]. This macro tells the wxWidgets framework that Pcsx2App is the wxWidgets app that we want to fire up.
This macro tells the wxWidgets framework that Pcsx2App is the wxWidgets app that we want to fire up.

Revision as of 17:02, 25 February 2015

AppMain.cpp - this is where the fun begins!

There is a lot that happens under the hood with wxWidgets. We don't need to worry about that. All we need to worry about is this this line of code in AppMain.cpp. <source lang="cpp">IMPLEMENT_APP(Pcsx2App)</source> This macro tells the wxWidgets framework that Pcsx2App is the wxWidgets app that we want to fire up.