PCSX2 Documentation/The PCSX2 Program Flow: Difference between revisions

Line 33: Line 33:
Here we're creating an instance of the [https://github.com/PCSX2/pcsx2/blob/e726f82344fa4e8c2e9d7be99364dbac35429499/pcsx2/gui/MainFrame.h MainEmuFrame class]. That class contains members for all the cool GUI elements, buttons, menus, stuff like that. So let's take a step further. Suppose we want to boot up a game. When we select Boot DVD in the pcsx2 menus, we are calling upon this function here:
Here we're creating an instance of the [https://github.com/PCSX2/pcsx2/blob/e726f82344fa4e8c2e9d7be99364dbac35429499/pcsx2/gui/MainFrame.h MainEmuFrame class]. That class contains members for all the cool GUI elements, buttons, menus, stuff like that. So let's take a step further. Suppose we want to boot up a game. When we select Boot DVD in the pcsx2 menus, we are calling upon this function here:


<source lang="text">In [https://github.com/PCSX2/pcsx2/blob/f3bb434b27737849546290bbfc8d09c61103081c/pcsx2/gui/MainMenuClicks.cpp MainMenuClicks.cpp]</source>
<source lang="cpp">
<source lang="cpp">
// In [https://github.com/PCSX2/pcsx2/blob/f3bb434b27737849546290bbfc8d09c61103081c/pcsx2/gui/MainMenuClicks.cpp MainMenuClicks.cpp]
void MainEmuFrame::_DoBootCdvd()
void MainEmuFrame::_DoBootCdvd()
</source>
</source>
ninja
782

edits