Commit 4957b4fb authored by Vladimir Serbinenko's avatar Vladimir Serbinenko
Browse files

Refuse double flip to ensure a singel frame per retro_run

It's never actually used, just a precaution
parent 74ae5828
......@@ -210,7 +210,7 @@ gp_layout_t classic_alt = {
gp_layout_t *gp_layoutp = NULL;
float framerate = 60.0f;
static float framerate = 60.0f;
static bool initial_resolution_set = false;
static int invert_y_axis = 1;
......@@ -1229,7 +1229,7 @@ void VID_Update(vrect_t *rects)
uint16_t *pal = (uint16_t*)&d_8to16table;
uint16_t *ptr = (uint16_t*)finalimage;
if (!video_cb || !rects)
if (!video_cb || !rects || did_flip)
return;
for (y = 0; y < rects->height; ++y)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment