diff options
| author | aap <aap@papnet.eu> | 2020-11-26 16:47:19 +0100 |
|---|---|---|
| committer | aap <aap@papnet.eu> | 2020-11-26 17:39:59 +0100 |
| commit | d857758c167ee06840ec806524191e95ff37f98a (patch) | |
| tree | fcfdf828156ae6e394ba768756629906f9d73eab /src/skel | |
| parent | memory heap starting to work (diff) | |
| download | re3-d857758c167ee06840ec806524191e95ff37f98a.tar.gz | |
start using CMemoryHeap
Diffstat (limited to 'src/skel')
| -rw-r--r-- | src/skel/skeleton.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/skel/skeleton.cpp b/src/skel/skeleton.cpp index 4780316a..3166093e 100644 --- a/src/skel/skeleton.cpp +++ b/src/skel/skeleton.cpp @@ -10,6 +10,7 @@ #include "skeleton.h" #include "platform.h" +#include "MemoryHeap.h" @@ -307,6 +308,8 @@ RsRwInitialize(void *displayID) { RwEngineOpenParams openParams; + PUSH_MEMID(MEMID_RENDER); // NB: not popped on failed return + /* * Start RenderWare... */ @@ -374,6 +377,8 @@ RsRwInitialize(void *displayID) RwTextureSetMipmapping(FALSE); RwTextureSetAutoMipmapping(FALSE); + POP_MEMID(); + return TRUE; } |
