Эх сурвалжийг харах

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

Kloen 9 жил өмнө
parent
commit
2ca3beb9d3

+ 2 - 0
src/core/hle/service/err_f.cpp

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