summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-20 14:27:48 +0100
committeraap <aap@papnet.eu>2020-12-20 14:27:48 +0100
commitfc312113d2d47aa8ef0b18cc5aecdaf93053122e (patch)
tree4175a098cc4efc50d7a70d934bd1733295b9e2dd /src/core/main.cpp
parentbuildings directory (diff)
downloadre3-fc312113d2d47aa8ef0b18cc5aecdaf93053122e.tar
re3-fc312113d2d47aa8ef0b18cc5aecdaf93053122e.tar.gz
re3-fc312113d2d47aa8ef0b18cc5aecdaf93053122e.tar.bz2
re3-fc312113d2d47aa8ef0b18cc5aecdaf93053122e.tar.lz
re3-fc312113d2d47aa8ef0b18cc5aecdaf93053122e.tar.xz
re3-fc312113d2d47aa8ef0b18cc5aecdaf93053122e.tar.zst
re3-fc312113d2d47aa8ef0b18cc5aecdaf93053122e.zip
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 91ad7fc1..2072918f 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -465,8 +465,11 @@ PreAllocateRwObjects(void)
static RwBool
Initialise3D(void *param)
{
+ PUSH_MEMID(MEMID_RENDER);
+
if (RsRwInitialize(param))
{
+ POP_MEMID();
#ifdef DEBUGMENU
DebugMenuInit();
DebugMenuPopulate();
@@ -485,8 +488,10 @@ Initialise3D(void *param)
#ifdef SCREEN_DROPLETS
ScreenDroplets::InitDraw();
#endif
+
return ret;
}
+ POP_MEMID();
return (FALSE);
}