forked from len0rd/rockbox
D2: Stop panic screen from crashing instantly (seems this has been broken for a while).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17670 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d701d40380
commit
3f7f5d7431
2 changed files with 10 additions and 1 deletions
|
@ -111,6 +111,8 @@ void panicf( const char *fmt, ...)
|
|||
if ((GPIO_READ & 0x0c000000) == 0x08000000) /* check for ON button and !hold */
|
||||
#elif defined(IAUDIO_M3)
|
||||
if ((GPIO1_READ & 0x202) == 0x200) /* check for ON button and !hold */
|
||||
#elif defined(COWON_D2)
|
||||
if (GPIOA & 0x10) /* check for power button */
|
||||
#elif CONFIG_CPU == SH7034
|
||||
#if CONFIG_KEYPAD == PLAYER_PAD
|
||||
if (!(PADRL & 0x20))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue