From b37c468039b944de7b40ef6e67ae07c3e59f44f6 Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Tue, 13 Mar 2012 23:42:30 +1300 Subject: [PATCH] Fixes issue 5269 Sorry guys but I needed to disable stfs so that Pokepark 2 would not freeze(?). Feel free to put some effort in to finding out why, I do not understand Jit sorry. --- Source/Core/Core/Src/PowerPC/Jit64/Jit64_Tables.cpp | 4 ++-- .../Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit64_Tables.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit64_Tables.cpp index 93963513ee..5b7baa28c0 100644 --- a/Source/Core/Core/Src/PowerPC/Jit64/Jit64_Tables.cpp +++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit64_Tables.cpp @@ -100,8 +100,8 @@ static GekkoOPTemplate primarytable[] = {50, &Jit64::lfd}, //"lfd", OPTYPE_LOADFP, FL_IN_A}}, {51, &Jit64::Default}, //"lfdu", OPTYPE_LOADFP, FL_OUT_A | FL_IN_A}}, - {52, &Jit64::stfs}, //"stfs", OPTYPE_STOREFP, FL_IN_A}}, - {53, &Jit64::stfs}, //"stfsu", OPTYPE_STOREFP, FL_OUT_A | FL_IN_A}}, + {52, &Jit64::Default}, //"stfs", OPTYPE_STOREFP, FL_IN_A}}, + {53, &Jit64::Default}, //"stfsu", OPTYPE_STOREFP, FL_OUT_A | FL_IN_A}}, {54, &Jit64::stfd}, //"stfd", OPTYPE_STOREFP, FL_IN_A}}, {55, &Jit64::Default}, //"stfdu", OPTYPE_STOREFP, FL_OUT_A | FL_IN_A}}, diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp index 41c9a3ceb7..25ad18acf5 100644 --- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp +++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp @@ -240,7 +240,14 @@ void Jit64::stfd(UGeckoInstruction inst) fpr.UnlockAll(); } - +// In Release on 32bit build, +// this seemed to cause a problem with PokePark2 +// at start after talking to first pokemon, +// you run and smash a box, then he goes on about +// following him and then you cant do anything. +// I have enabled interpreter for this function +// in the mean time. +// Parlane void Jit64::stfs(UGeckoInstruction inst) { INSTRUCTION_START