aboutsummaryrefslogtreecommitdiff
path: root/backends/psp/osys_psp_gu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/psp/osys_psp_gu.cpp')
-rw-r--r--backends/psp/osys_psp_gu.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/backends/psp/osys_psp_gu.cpp b/backends/psp/osys_psp_gu.cpp
index 74e26087dc..c18000b852 100644
--- a/backends/psp/osys_psp_gu.cpp
+++ b/backends/psp/osys_psp_gu.cpp
@@ -65,7 +65,6 @@ unsigned int kbd_code_cl[] = {SDLK_EXCLAIM, SDLK_AT, SDLK_HASH, SDLK_DOLLAR, 3
#define CAPS_LOCK (1 << 0)
#define SYMBOLS (1 << 1)
-extern bool g_quit;
OSystem_PSP_GU::OSystem_PSP_GU() {
//sceKernelDcacheWritebackAll();
@@ -484,15 +483,6 @@ bool OSystem_PSP_GU::pollEvent(Event &event) {
uint32 buttonsChanged = pad.Buttons ^ _prevButtons;
- /* check if user exited using the Home button */
- if (g_quit) {
- g_quit = false; //set g_quit back to false or else pollEvent keeps looping..
-
- warning("g_quit signal caught, sending EVENT_QUIT to VM engine");
- event.type = OSystem::EVENT_QUIT;
- return true;
- }
-
if ((buttonsChanged & PSP_CTRL_SELECT) || (pad.Buttons & PSP_CTRL_SELECT))
{
if( !(pad.Buttons & PSP_CTRL_SELECT) )