summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-13 21:17:53 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-13 21:17:53 +0100
commit8baa104453db38734a3eb9e9ff511389d0e72506 (patch)
treefadc7c4d71f54a2c6a2add1efb1b741b6f9775d5 /src/core/main.cpp
parentRevert "Merge branch 'lcs' of https://github.com/GTAmodding/re3 into lcs" (diff)
downloadre3-8baa104453db38734a3eb9e9ff511389d0e72506.tar
re3-8baa104453db38734a3eb9e9ff511389d0e72506.tar.gz
re3-8baa104453db38734a3eb9e9ff511389d0e72506.tar.bz2
re3-8baa104453db38734a3eb9e9ff511389d0e72506.tar.lz
re3-8baa104453db38734a3eb9e9ff511389d0e72506.tar.xz
re3-8baa104453db38734a3eb9e9ff511389d0e72506.tar.zst
re3-8baa104453db38734a3eb9e9ff511389d0e72506.zip
Diffstat (limited to '')
-rw-r--r--src/core/main.cpp4
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