Compilation fix (sc)

This commit is contained in:
Nekotekina 2015-02-20 21:14:34 +03:00
parent a4a25dc28d
commit cd2eb59da6

View file

@ -51,7 +51,7 @@ const int kSyscallTableLength = 1024;
// DBG = Debug // DBG = Debug
// PM = Product Mode // PM = Product Mode
// AuthID = Authentication ID // AuthID = Authentication ID
void(*const sc_table[1024])(PPUThread&) = const ps3_func_caller sc_table[1024] =
{ {
null_func, null_func,
bind_func(sys_process_getpid), //1 (0x001) bind_func(sys_process_getpid), //1 (0x001)
@ -933,7 +933,7 @@ void SysCalls::DoSyscall(PPUThread& CPU, u32 code)
if(code < 1024) if(code < 1024)
{ {
(*sc_table[code])(CPU); sc_table[code](CPU);
return; return;
} }