Skip to content

Commit 246a6e8

Browse files
Merge pull request #708 from wheremyfoodat/AddSystemErrorExit
[Kernel log] Add SystemErrorExit
2 parents 22050e2 + 487931f commit 246a6e8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/core/kernellog.cc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ static const char *const A0names[] = {
143143
"memset", "memmove", "memcmp", "memchr", "rand",
144144
// 30
145145
"srand", "qsort", "strtod", "user_malloc", "user_free", "lsearch", "bsearch", "user_calloc", "user_realloc",
146-
"user_initheap", nullptr, "getchar", "putchar", "gets", "puts", "printf",
146+
"user_initheap", "abort", "getchar", "putchar", "gets", "puts", "printf",
147147
// 40
148148
"SystemErrorUnresolvedException", "loadExeHeader", "loadExe", "exec", "flushCache", "installKernelHandlers",
149149
"GPU_dw", "GPU_mem2vram", "GPU_send", "GPU_cw", "GPU_cwb", "GPU_sendPackets", "GPU_abort", "GPU_getStatus",
@@ -445,6 +445,10 @@ void PCSX::R3000Acpu::logA0KernelCall(uint32_t call) {
445445
g_system->log(LogClass::KERNEL, "0x%08x, %i)", n.a0, n.a1);
446446
break;
447447
}
448+
case 0x3a: {
449+
g_system->log(LogClass::KERNEL, "%i)", n.a0);
450+
break;
451+
}
448452
case 0x3b: {
449453
g_system->log(LogClass::KERNEL, ")");
450454
break;

0 commit comments

Comments
 (0)