Merge pull request #841 from aap/master

start using CMemoryHeap; also some PS2 define cleanup
This commit is contained in:
aap
2020-11-28 18:52:44 +01:00
committed by GitHub
28 changed files with 720 additions and 299 deletions

View File

@ -40,7 +40,7 @@
#include "Sprite2d.h"
#include "AnimViewer.h"
#include "Font.h"
#include "MemoryHeap.h"
#include "MemoryMgr.h"
#define MAX_SUBSYSTEMS (16)

View File

@ -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;
}

View File

@ -97,7 +97,7 @@ static psGlobalType PsGlobal;
#include "Sprite2d.h"
#include "AnimViewer.h"
#include "Font.h"
#include "MemoryHeap.h"
#include "MemoryMgr.h"
VALIDATE_SIZE(psGlobalType, 0x28);