mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-28 07:30:49 +00:00
Merge pull request #841 from aap/master
start using CMemoryHeap; also some PS2 define cleanup
This commit is contained in:
commit
c57fee38ca
28 changed files with 720 additions and 299 deletions
|
@ -40,7 +40,7 @@
|
|||
#include "Sprite2d.h"
|
||||
#include "AnimViewer.h"
|
||||
#include "Font.h"
|
||||
#include "MemoryHeap.h"
|
||||
#include "MemoryMgr.h"
|
||||
|
||||
#define MAX_SUBSYSTEMS (16)
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue