#include "../../video.h"
#include "usbjoy.h"
+extern int FSkip;
+
/* UsrInputType[] is user-specified. InputType[] is current
(game loading can override user settings)
*/
FCEUD_Update(XBuf+8,NULL,0);
while( !((keys = gp2x_joystick_read(1)) & (GP2X_X|GP2X_Y)) ) usleep(50*1024);
if (keys & GP2X_X) do_it = 0;
- FCEU_DispMessage("");
+ FCEU_CancelDispMessage();
}
if (do_it) FCEUI_LoadState();
}
FCEUD_Update(XBuf+8,NULL,0);
while( !((keys = gp2x_joystick_read(1)) & (GP2X_X|GP2X_Y)) ) usleep(50*1024);
if (keys & GP2X_X) do_it = 0;
- FCEU_DispMessage("");
+ FCEU_CancelDispMessage();
}
}
if (do_it) FCEUI_SaveState();
}
-void FCEUD_UpdateInput(void)
+static void FCEUD_UpdateInput(void)
{
static int volpushed_frames = 0;
static int turbo_rate_cnt_a[2] = {0,0}, turbo_rate_cnt_b[2] = {0,0};
if ((down(VOL_DOWN) && down(VOL_UP)) || (keys & (GP2X_L|GP2X_L|GP2X_START)) == (GP2X_L|GP2X_L|GP2X_START))
{
Exit = 1;
+ FSkip = 0; /* force rendering the last frame for menu */
return;
}
else if (down(VOL_UP))