This commit is contained in:
parent
5487cb5e3b
commit
16d430eadd
1 changed files with 2 additions and 1 deletions
|
@ -341,7 +341,7 @@ DRAWENV *Draw;
|
||||||
DISPENV *Disp;
|
DISPENV *Disp;
|
||||||
int LastFrame=FrameFlipFlag;
|
int LastFrame=FrameFlipFlag;
|
||||||
int ScrH=VidGetScrH()*FrameFlipFlag;
|
int ScrH=VidGetScrH()*FrameFlipFlag;
|
||||||
|
|
||||||
FrameFlipFlag^=1;
|
FrameFlipFlag^=1;
|
||||||
TickBuffer[FrameFlipFlag]=TickCount; TickCount=0;
|
TickBuffer[FrameFlipFlag]=TickCount; TickCount=0;
|
||||||
Draw=&Screen[FrameFlipFlag].Draw;
|
Draw=&Screen[FrameFlipFlag].Draw;
|
||||||
|
@ -356,6 +356,7 @@ int ScrH=VidGetScrH()*FrameFlipFlag;
|
||||||
Disp->screen.h=256;
|
Disp->screen.h=256;
|
||||||
PutDispEnv(Disp);
|
PutDispEnv(Disp);
|
||||||
PutDrawEnv(Draw);
|
PutDrawEnv(Draw);
|
||||||
|
VSync(0); // < -need this here, not in game (vsync miss bug)
|
||||||
|
|
||||||
// If set, load background screen
|
// If set, load background screen
|
||||||
if (ScreenImage)
|
if (ScreenImage)
|
||||||
|
|
Loading…
Add table
Reference in a new issue