diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-13 18:18:26 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-13 18:18:26 +0100 |
commit | d63e3f155995f2b82cee1f19bcf5c0f00bda491a (patch) | |
tree | fadc7c4d71f54a2c6a2add1efb1b741b6f9775d5 /src/core/main.cpp | |
parent | Merge branch 'lcs' of https://github.com/GTAmodding/re3 into lcs (diff) | |
parent | remove scriptspath from premake (diff) | |
download | re3-d63e3f155995f2b82cee1f19bcf5c0f00bda491a.tar re3-d63e3f155995f2b82cee1f19bcf5c0f00bda491a.tar.gz re3-d63e3f155995f2b82cee1f19bcf5c0f00bda491a.tar.bz2 re3-d63e3f155995f2b82cee1f19bcf5c0f00bda491a.tar.lz re3-d63e3f155995f2b82cee1f19bcf5c0f00bda491a.tar.xz re3-d63e3f155995f2b82cee1f19bcf5c0f00bda491a.tar.zst re3-d63e3f155995f2b82cee1f19bcf5c0f00bda491a.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 e6d83608..7f73c311 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 |