diff options
author | aap <aap@papnet.eu> | 2020-12-20 14:27:48 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-20 14:27:48 +0100 |
commit | fc312113d2d47aa8ef0b18cc5aecdaf93053122e (patch) | |
tree | 4175a098cc4efc50d7a70d934bd1733295b9e2dd /src/core/main.cpp | |
parent | buildings directory (diff) | |
download | re3-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.cpp | 5 |
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); } |