CPU: Fix broken exception logging from YBaseLib removal

This commit is contained in:
Connor McLaughlin 2020-05-16 01:02:18 +10:00
parent 214e852a54
commit a937a09b5c

View file

@ -288,7 +288,7 @@ void Core::RaiseException(Exception excode)
void Core::RaiseException(Exception excode, u32 EPC, bool BD, bool BT, u8 CE) void Core::RaiseException(Exception excode, u32 EPC, bool BD, bool BT, u8 CE)
{ {
#ifdef Y_BUILD_CONFIG_DEBUG #ifdef _DEBUG
if (excode != Exception::INT && excode != Exception::Syscall && excode != Exception::BP) if (excode != Exception::INT && excode != Exception::Syscall && excode != Exception::BP)
{ {
Log_DebugPrintf("Exception %u at 0x%08X (epc=0x%08X, BD=%s, CE=%u)", static_cast<u32>(excode), Log_DebugPrintf("Exception %u at 0x%08X (epc=0x%08X, BD=%s, CE=%u)", static_cast<u32>(excode),