summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
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);
}