From 2c8e77dcc0917ca6189320a412faa15ce1e5ddf0 Mon Sep 17 00:00:00 2001 From: skidau Date: Fri, 24 Oct 2014 13:23:21 +1100 Subject: [PATCH] Added a check for external exceptions that have been set. Prevents a false positive log message. --- Source/Core/Core/PowerPC/PowerPC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/PowerPC.cpp b/Source/Core/Core/PowerPC/PowerPC.cpp index 4aedff8e65..0480677831 100644 --- a/Source/Core/Core/PowerPC/PowerPC.cpp +++ b/Source/Core/Core/PowerPC/PowerPC.cpp @@ -446,7 +446,7 @@ void CheckExternalExceptions() u32 exceptions = ppcState.Exceptions; // EXTERNAL INTERRUPT - if (MSR & 0x0008000) //hacky...the exception shouldn't be generated if EE isn't set... + if (exceptions && (MSR & 0x0008000)) // Handling is delayed until MSR.EE=1. { if (exceptions & EXCEPTION_EXTERNAL_INT) {