diff --git a/src/xenia/gpu/xenos/ucode_disassembler.cc b/src/xenia/gpu/xenos/ucode_disassembler.cc index 6a062f817..db3ad44eb 100644 --- a/src/xenia/gpu/xenos/ucode_disassembler.cc +++ b/src/xenia/gpu/xenos/ucode_disassembler.cc @@ -590,8 +590,12 @@ int disasm_fetch( dwords[0], dwords[1], dwords[2]); output->append(" %sFETCH:\t", sync ? "(S)" : " "); - output->append("%s", fetch_instructions[fetch->opc].name); - fetch_instructions[fetch->opc].fxn(output, fetch); + if (fetch_instructions[fetch->opc].fxn) { + output->append("%s", fetch_instructions[fetch->opc].name); + fetch_instructions[fetch->opc].fxn(output, fetch); + } else { + output->append("???"); + } output->append("\n"); return 0; diff --git a/src/xenia/kernel/xboxkrnl_rtl.cc b/src/xenia/kernel/xboxkrnl_rtl.cc index 2f77b6995..97fe9efc5 100644 --- a/src/xenia/kernel/xboxkrnl_rtl.cc +++ b/src/xenia/kernel/xboxkrnl_rtl.cc @@ -705,7 +705,7 @@ SHIM_CALL RtlTryEnterCriticalSection_shim( PPCContext* ppc_state, KernelState* state) { uint32_t cs_ptr = SHIM_GET_ARG_32(0); - XELOGD("RtlTryEnterCriticalSection(%.8X)", cs_ptr); + // XELOGD("RtlTryEnterCriticalSection(%.8X)", cs_ptr); const uint8_t* thread_state_block = ppc_state->membase + ppc_state->r[13]; uint32_t thread_id = XThread::GetCurrentThreadId(thread_state_block);