forked from ShuriZma/suyu
1
0
Fork 0

core: fix err_f.cpp warning about unhandled enumeration value on OSX

This commit is contained in:
Kloen 2017-01-29 17:46:23 +01:00
parent f352a741d3
commit 2ca3beb9d3
1 changed files with 2 additions and 0 deletions

View File

@ -227,6 +227,8 @@ static void ThrowFatalError(Interface* self) {
LOG_CRITICAL(Service_ERR, "FINST2: 0x%08X", LOG_CRITICAL(Service_ERR, "FINST2: 0x%08X",
errtype.exception_data.exception_info.fpinst2); errtype.exception_data.exception_info.fpinst2);
break; break;
case ExceptionType::Undefined:
break; // Not logging exception_info for this case
} }
LOG_CRITICAL(Service_ERR, "Datetime: %s", GetCurrentSystemTime().c_str()); LOG_CRITICAL(Service_ERR, "Datetime: %s", GetCurrentSystemTime().c_str());
break; break;