From 5a212a8fe0cc05b375a0d26aa62e9cd4d3f0977c Mon Sep 17 00:00:00 2001 From: degasus Date: Thu, 17 Oct 2013 01:43:16 +0200 Subject: [PATCH] jit64: enable faddsx again It was disabled because of issue 182, but as this game depeneds on FPRF, it was just 'fixed' because of the fallback to interpreter (which implements FPRF by default). Also enables FPRF for this game via GameIni, so that the issue is still workaround. If there are any regressions because of this commit, please try to enable FPRF in GameIni. --- Data/Sys/GameSettings/GF7E01.ini | 1 + Data/Sys/GameSettings/GF7P01.ini | 1 + Source/Core/Core/Src/PowerPC/Jit64/Jit_FloatingPoint.cpp | 5 ----- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Data/Sys/GameSettings/GF7E01.ini b/Data/Sys/GameSettings/GF7E01.ini index b2cb1b820c..6a4e1e7dcc 100644 --- a/Data/Sys/GameSettings/GF7E01.ini +++ b/Data/Sys/GameSettings/GF7E01.ini @@ -2,6 +2,7 @@ [Core] # Values set here will override the main dolphin settings. +EnableFPRF = True [EmuState] # The Emulation State. 1 is worst, 5 is best, 0 is not set. diff --git a/Data/Sys/GameSettings/GF7P01.ini b/Data/Sys/GameSettings/GF7P01.ini index edf4831056..5da4d712e3 100644 --- a/Data/Sys/GameSettings/GF7P01.ini +++ b/Data/Sys/GameSettings/GF7P01.ini @@ -2,6 +2,7 @@ [Core] # Values set here will override the main dolphin settings. +EnableFPRF = True [EmuState] # The Emulation State. 1 is worst, 5 is best, 0 is not set. diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_FloatingPoint.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_FloatingPoint.cpp index c157903726..0b494e60b3 100644 --- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_FloatingPoint.cpp +++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_FloatingPoint.cpp @@ -75,11 +75,6 @@ void Jit64::fp_arith_s(UGeckoInstruction inst) Default(inst); return; } - // Causing problems for GC - Starfox Assault (invisible boss at the end of level 1) - if (inst.SUBOP5 == 21) { - Default(inst); return; - } - if (inst.SUBOP5 == 26) { // frsqrtex int d = inst.FD;