Fix console framerate issues and Fix Boolean type on windows
This commit is contained in:
parent
9fcc9fa2b5
commit
1164c5d569
2 changed files with 18 additions and 3 deletions
|
|
@ -920,9 +920,24 @@ void D_SRB2Loop(void)
|
|||
rendertimefrac_unpaused = FRACUNIT;
|
||||
}
|
||||
|
||||
if ((interp || doDisplay) && !frameskip)
|
||||
if (interp || doDisplay)
|
||||
{
|
||||
ranwipe = D_Display();
|
||||
if (!frameskip)
|
||||
{
|
||||
ranwipe = D_Display();
|
||||
}
|
||||
else if (frameskip)
|
||||
{
|
||||
// always update console and hud
|
||||
// otherwise it may take minutes to open it
|
||||
CON_Drawer();
|
||||
|
||||
if (gamestate == GS_LEVEL)
|
||||
{
|
||||
ST_Drawer();
|
||||
HU_Drawer();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Only take screenshots after drawing.
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ extern "C" {
|
|||
#ifndef _WIN32
|
||||
typedef int32_t boolean;
|
||||
#else
|
||||
#define BOOL boolean
|
||||
#define boolean BOOL
|
||||
#endif
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
|
|
|||
Loading…
Reference in a new issue