diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-13 13:56:25 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-13 13:56:25 +0100 |
commit | ff057838ec8f2f03b6990a87ca30e85ca45daafb (patch) | |
tree | 38af6623091aed50390109799d7f8b0ea28d2224 /src/core/main.cpp | |
parent | Merge remote-tracking branch 'origin/miami' into lcs (diff) | |
parent | Fix backface culling of cutscene objects (diff) | |
download | re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.gz re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.bz2 re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.lz re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.xz re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.zst re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.zip |
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r-- | src/core/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index c516cd84..4e94c202 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -1426,11 +1426,13 @@ Idle(void *arg) CSprite2d::InitPerFrame(); CFont::InitPerFrame(); + PUSH_MEMID(MEMID_GAME_PROCESS); CPointLights::InitPerFrame(); tbStartTimer(0, "CGame::Process"); CGame::Process(); tbEndTimer("CGame::Process"); + POP_MEMID(); tbStartTimer(0, "DMAudio.Service"); DMAudio.Service(); @@ -1452,6 +1454,8 @@ Idle(void *arg) if(arg == nil) return; + PUSH_MEMID(MEMID_RENDER); + if(!FrontEndMenuManager.m_bMenuActive && TheCamera.GetScreenFadeStatus() != FADE_2) { // This is from SA, but it's nice for windowed mode |