From 05a8c0115b635920d787ae48c9bf08ede2fcfbc9 Mon Sep 17 00:00:00 2001 From: omegadox Date: Mon, 15 Jun 2009 20:22:08 +0000 Subject: [PATCH] Just log the bcctrx error instead and a small comment about it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3456 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/PowerPC/Jit64/Jit_Branch.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Branch.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Branch.cpp index 89720324c3..e58519127e 100644 --- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Branch.cpp +++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Branch.cpp @@ -217,12 +217,6 @@ void Jit64::bcx(UGeckoInstruction inst) void Jit64::bcctrx(UGeckoInstruction inst) { - // TODO: This instruction branches to count register - // JIT needs currently does not implement this opcode, - // so we will fall back to the interpretor - - // Default(inst); - if(Core::g_CoreStartupParameter.bJITOff || Core::g_CoreStartupParameter.bJITBranchOff) {Default(inst); return;} // turn off from debugger @@ -235,8 +229,10 @@ void Jit64::bcctrx(UGeckoInstruction inst) if ((inst.BO & 16) == 0) { - PanicAlert("Bizarro bcctrx %08x, not supported.", inst.hex); - _assert_msg_(DYNA_REC, 0, "Bizarro bcctrx"); + // Rare condition usually used by NES Emulators + // TODO: JIT does not support this + ERROR_LOG(DYNA_REC, "Bizarro bcctrx %08x, not supported.", inst.hex); + //_assert_msg_(DYNA_REC, 0, "Bizarro bcctrx"); /* fastway = false; MOV(32, M(&PC), Imm32(js.compilerPC+4));