From 2ca3beb9d3ebd3237c996e1f15b7726b3231a0d4 Mon Sep 17 00:00:00 2001 From: Kloen Date: Sun, 29 Jan 2017 17:46:23 +0100 Subject: [PATCH] core: fix err_f.cpp warning about unhandled enumeration value on OSX --- src/core/hle/service/err_f.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/hle/service/err_f.cpp b/src/core/hle/service/err_f.cpp index cd0a1a598..9da55f328 100644 --- a/src/core/hle/service/err_f.cpp +++ b/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;