mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 01:59:52 -06:00
Fix Pikmin PAL not booting thanks to LordMark for figuring it out ! :D
Added "AccurateFCMP" ini setting which fixes Nights, Paper Mario games... git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4042 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -44,6 +44,7 @@ void SCoreStartupParameter::LoadDefaults()
|
||||
bDSPThread = true;
|
||||
bLockThreads = true;
|
||||
bEnableFPRF = false;
|
||||
bAccurateFCMP = false;
|
||||
bWii = false;
|
||||
SelectedLanguage = 0;
|
||||
iTLBHack = 0;
|
||||
|
@ -57,6 +57,9 @@ struct SCoreStartupParameter
|
||||
bool bJITBranchOff;
|
||||
bool bJITProfiledReJIT;
|
||||
|
||||
bool bEnableFPRF;
|
||||
bool bAccurateFCMP;
|
||||
|
||||
bool bUseDualCore;
|
||||
bool bDSPThread;
|
||||
bool bSkipIdle;
|
||||
@ -65,7 +68,6 @@ struct SCoreStartupParameter
|
||||
bool bUseFastMem;
|
||||
bool bLockThreads;
|
||||
bool bOptimizeQuantizers;
|
||||
bool bEnableFPRF;
|
||||
bool bEnableCheats;
|
||||
bool bEnableIsoCache;
|
||||
|
||||
|
@ -210,7 +210,7 @@ void Jit64::Init()
|
||||
jo.enableFastMem = false;
|
||||
#endif
|
||||
jo.assumeFPLoadFromMem = true;
|
||||
jo.fpAccurateFcmp = false;
|
||||
jo.fpAccurateFcmp = Core::GetStartupParameter().bEnableFPRF || Core::GetStartupParameter().bAccurateFCMP;
|
||||
jo.optimizeGatherPipe = true;
|
||||
jo.fastInterrupts = false;
|
||||
jo.accurateSinglePrecision = true;
|
||||
|
@ -205,9 +205,10 @@ void Jit64::fmrx(UGeckoInstruction inst)
|
||||
fpr.LoadToX64(d, true); // we don't want to destroy the high bit
|
||||
MOVSD(fpr.RX(d), fpr.R(b));
|
||||
}
|
||||
|
||||
|
||||
void Jit64::fcmpx(UGeckoInstruction inst)
|
||||
{
|
||||
// TODO : this causes crashes in Nights, and broken graphics in Paper Mario, Super Paper Mario
|
||||
INSTRUCTION_START;
|
||||
if(Core::g_CoreStartupParameter.bJITOff || jo.fpAccurateFcmp
|
||||
|| Core::g_CoreStartupParameter.bJITFloatingPointOff) {
|
||||
|
Reference in New Issue
Block a user