PSP2: Triangle to exit (temporary until a menu is created)
Jeffrey Pfau jeffrey@endrift.com
Fri, 24 Jul 2015 22:52:08 -0700
1 files changed,
5 insertions(+),
0 deletions(-)
jump to
M
src/platform/psp2/main.c
→
src/platform/psp2/main.c
@@ -75,6 +75,11 @@
if (frameCounter != gba->video.frameCounter) { SceCtrlData pad; sceCtrlPeekBufferPositive(0, &pad, 1); + if (pad.buttons & PSP2_CTRL_TRIANGLE) { + running = false; + break; + } + activeKeys = 0; if (pad.buttons & PSP2_CTRL_CROSS) { activeKeys |= 1 << GBA_KEY_A;