From e4f71ce6e4e5a9b6853f4ba3e9bd7a28349f51da Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 14 Oct 2013 00:51:08 -0700 Subject: [PATCH] Avoid a few expected asserts in headless mode. --- Core/MIPS/MIPSIntVFPU.cpp | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Core/MIPS/MIPSIntVFPU.cpp b/Core/MIPS/MIPSIntVFPU.cpp index f3353dde7c..f91bb278f6 100644 --- a/Core/MIPS/MIPSIntVFPU.cpp +++ b/Core/MIPS/MIPSIntVFPU.cpp @@ -1771,7 +1771,9 @@ bad: { // S & D valid Reporting::ReportMessage("vlgb not implemented"); - _dbg_assert_msg_(CPU,0,"vlgb not implemented"); + if (!PSP_CoreParameter().headLess) { + _dbg_assert_msg_(CPU,0,"vlgb not implemented"); + } PC += 4; EatPrefixes(); } @@ -1780,7 +1782,9 @@ bad: // bit manipulation on the raw floats. void Int_Vwbn(MIPSOpcode op) { Reporting::ReportMessage("vwbn not implemented"); - _dbg_assert_msg_(CPU,0,"vwbn not implemented"); + if (!PSP_CoreParameter().headLess) { + _dbg_assert_msg_(CPU,0,"vwbn not implemented"); + } PC += 4; EatPrefixes(); @@ -1813,7 +1817,9 @@ bad: void Int_Vsbn(MIPSOpcode op) { Reporting::ReportMessage("vsbn not implemented"); - _dbg_assert_msg_(CPU,0,"vsbn not implemented"); + if (!PSP_CoreParameter().headLess) { + _dbg_assert_msg_(CPU,0,"vsbn not implemented"); + } PC += 4; EatPrefixes(); } @@ -1821,7 +1827,9 @@ bad: void Int_Vsbz(MIPSOpcode op) { Reporting::ReportMessage("vsbz not implemented"); - _dbg_assert_msg_(CPU,0,"vsbz not implemented"); + if (!PSP_CoreParameter().headLess) { + _dbg_assert_msg_(CPU,0,"vsbz not implemented"); + } PC += 4; EatPrefixes(); }