merge attempt

This commit is contained in:
Nikolay Korolev 2020-12-19 03:21:04 +03:00
commit 8d1996833b
68 changed files with 2149 additions and 316 deletions

View file

@ -98,6 +98,7 @@ static psGlobalType PsGlobal;
#include "Sprite2d.h"
#include "AnimViewer.h"
#include "Font.h"
#include "MemoryMgr.h"
VALIDATE_SIZE(psGlobalType, 0x28);
@ -309,7 +310,11 @@ psMouseSetPos(RwV2d *pos)
RwMemoryFunctions*
psGetMemoryFunctions(void)
{
#ifdef USE_CUSTOM_ALLOCATOR
return &memFuncs;
#else
return nil;
#endif
}
/*
@ -2009,6 +2014,10 @@ WinMain(HINSTANCE instance,
}
#endif
#ifdef USE_CUSTOM_ALLOCATOR
InitMemoryMgr();
#endif
/*
* Initialize the platform independent data.
* This will in turn initialize the platform specific data...