mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
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:
parent
9269badc4c
commit
f9d3ee9d2f
3 changed files with 9 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue