Syscall names registered

This commit is contained in:
Nekotekina 2015-03-15 16:26:01 +03:00
parent ff90ddbd2f
commit 3e412a2a1f
11 changed files with 626 additions and 95 deletions

View file

@ -65,25 +65,13 @@ void CPUThread::DumpInformation()
case CPU_THREAD_PPU:
{
if ((u32)syscall == syscall)
if (syscall)
{
if (syscall)
{
if (syscall < 1024)
{
// TODO:
//return SysCalls::GetSyscallName((u32)syscall);
return "unknown syscall";
}
else
{
return SysCalls::GetHLEFuncName((u32)syscall);
}
}
else
{
return{};
}
return SysCalls::GetFuncName(syscall);
}
else
{
return{};
}
return "unknown function";