Experimental class template Module<T>

Allocates ps3 memory for specific instance T
This commit is contained in:
Nekotekina 2015-09-08 16:53:28 +03:00
parent 093ecc0a02
commit 12f36cf31f
123 changed files with 494 additions and 379 deletions

View file

@ -14,7 +14,7 @@
#include "sceNp.h"
#include "sceNpTrophy.h"
extern Module sceNpTrophy;
extern Module<> sceNpTrophy;
struct trophy_context_t
{
@ -455,7 +455,7 @@ s32 sceNpTrophyGetTrophyIcon(u32 context, u32 handle, s32 trophyId, vm::ptr<void
}
Module sceNpTrophy("sceNpTrophy", []()
Module<> sceNpTrophy("sceNpTrophy", []()
{
REG_FUNC(sceNpTrophy, sceNpTrophyGetGameProgress);
REG_FUNC(sceNpTrophy, sceNpTrophyRegisterContext);