From a090876bbd89ac656db2c1a5b81b778311b1c804 Mon Sep 17 00:00:00 2001 From: "j4ck.fr0st" Date: Tue, 2 Feb 2010 18:15:03 +0000 Subject: [PATCH] Disable LoadStorePaired on Linux, this seems to cause the crashes reported in Issue 2097 Update issue 2097 Summary: Linux segfault with LoadStorePaired enabled Disabling LoadStorePaired might affect performance just as Sonics change in r4897 does with OSX. Leaving this issue open since this is not a fix, just a workaround; this and Issue 2053 might suffer from some problem with Paired instructions altogether. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4993 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/CoreParameter.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Core/Core/Src/CoreParameter.cpp b/Source/Core/Core/Src/CoreParameter.cpp index 8a65196342..04b314e78b 100644 --- a/Source/Core/Core/Src/CoreParameter.cpp +++ b/Source/Core/Core/Src/CoreParameter.cpp @@ -67,6 +67,11 @@ void SCoreStartupParameter::LoadDefaults() // Newer revs (~4890) require both turned off bJITLoadStoreOff = true; bJITLoadStorePairedOff = true; +#elif defined(__linux__) + // Similar to OSX, something with LoadStorePaired seems to cause + // crashes on linux. Only Win32 seems to be forgiving enough to + // not do anything funny...(FIXME) + bJITLoadStorePairedOff = true; #endif m_strName = "NONE";