From 01f3c4ecde177a1656744ea131f8924baa916dea Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Tue, 19 Feb 2013 07:46:29 -0800 Subject: [PATCH 1/2] Log an error if we hit a 1x1 matrix. --- Core/MIPS/MIPSVFPUUtils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/MIPS/MIPSVFPUUtils.cpp b/Core/MIPS/MIPSVFPUUtils.cpp index 0f6ad315eb..626eab23de 100644 --- a/Core/MIPS/MIPSVFPUUtils.cpp +++ b/Core/MIPS/MIPSVFPUUtils.cpp @@ -247,6 +247,7 @@ MatrixSize GetMtxSize(u32 op) a += (b<<1); switch (a) { + case 0: ERROR_LOG(CPU, "Unexpected matrix size 1x1."); return M_2x2; case 1: return M_2x2; case 2: return M_3x3; case 3: return M_4x4; From a0ae126a01032576ad53ea4eea61b02d5c7ecdc1 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Tue, 19 Feb 2013 07:46:57 -0800 Subject: [PATCH 2/2] Exit Core_RunLoop() again in non-Windows. --- Core/Core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Core.cpp b/Core/Core.cpp index c2de39e787..252800ebac 100644 --- a/Core/Core.cpp +++ b/Core/Core.cpp @@ -73,8 +73,8 @@ void Core_RunLoop() { #ifdef _WIN32 GL_SwapBuffers(); -#endif coreState = CORE_RUNNING; +#endif } } }