1
0
Fork 0
forked from len0rd/rockbox

accept patch FS#4761 - putting the player on hold will now pause games. this should be

fitted to pong and rockblox as well. credit Lukas Sabota for the initial work, and, my very
own first commit!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10365 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Shachar Liberman 2006-07-30 03:10:09 +00:00
parent 4ccacd4004
commit 5360df96ef
9 changed files with 49 additions and 0 deletions

View file

@ -283,6 +283,11 @@ static int gameProc( void )
/* Check the button status */
status = rb->button_status();
#ifdef HAS_BUTTON_HOLD
if (rb->button_hold())
status = PACMAN_MENU;
#endif
if ((status & PACMAN_MENU) == PACMAN_MENU
#ifdef PACMAN_RC_MENU
|| status == PACMAN_RC_MENU