Register missing cellSysutil and sysPrxForUser function.

This commit is contained in:
Zangetsu38 2017-01-27 02:17:31 +01:00 committed by Ivan
parent fe23e0cc6e
commit b6f8eface7
4 changed files with 116 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/Cell/PPUModule.h"
@ -154,6 +154,12 @@ s32 sys_get_random_number(vm::ptr<u8> addr, u64 size)
return CELL_OK;
}
s32 __sys_look_ctype_table()
{
UNIMPLEMENTED_FUNC(sysPrxForUser);
return CELL_OK;
}
s32 console_getc()
{
fmt::throw_exception("Unimplemented" HERE);
@ -220,6 +226,8 @@ DECLARE(ppu_module_manager::sysPrxForUser)("sysPrxForUser", []()
REG_FUNC(sysPrxForUser, sys_get_random_number);
REG_FUNC(sysPrxForUser, __sys_look_ctype_table);
REG_FUNC(sysPrxForUser, console_getc);
REG_FUNC(sysPrxForUser, console_putc);
REG_FUNC(sysPrxForUser, console_write);