adjustments, fix for 'save accept switcher renderer'

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@413 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-04-05 19:29:31 +00:00
parent 9269badc4c
commit f9d3ee9d2f
3 changed files with 9 additions and 7 deletions

View file

@ -465,9 +465,11 @@ static void RunEvents(unsigned int which)
(!(which & 0x1000) && (currentConfig.EmuOpt & 0x200))) ) { // save
unsigned long keys;
blit("", (which & 0x1000) ? "LOAD STATE? (Y=yes, X=no)" : "OVERWRITE SAVE? (Y=yes, X=no)");
while( !((keys = gp2x_joystick_read(1)) & (GP2X_X|GP2X_Y)) )
while ( !((keys = gp2x_joystick_read(1)) & (GP2X_X|GP2X_Y)) )
usleep(50*1024);
if (keys & GP2X_X) do_it = 0;
while ( gp2x_joystick_read(1) & (GP2X_X|GP2X_Y) ) // wait for release
usleep(50*1024);
clearArea(0);
}
if (do_it) {