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

@ -8,7 +8,7 @@
#include "Emu/SysCalls/lv2/sys_process.h"
#include "sysPrxForUser.h"
extern Module sysPrxForUser;
extern Module<> sysPrxForUser;
extern u64 get_system_time();
@ -167,7 +167,7 @@ extern void sysPrxForUser_sys_spu_init();
extern void sysPrxForUser_sys_game_init();
extern void sysPrxForUser_sys_libc_init();
Module sysPrxForUser("sysPrxForUser", []()
Module<> sysPrxForUser("sysPrxForUser", []()
{
g_tls_start = 0;
for (auto& v : g_tls_owners)