From 7dfbc574aea16a345a97cf32ec9745d3c013fe37 Mon Sep 17 00:00:00 2001 From: hrydgard Date: Sun, 23 Nov 2008 13:09:10 +0000 Subject: [PATCH] Increase default JIT cache size to 16MB. Tweak the mp2 pal speed hack. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1272 8ced0084-cf51-0410-be5f-012b33b47a6e --- Data/User/GameConfig/G2MP01.ini | 2 +- Source/Core/Core/Src/PowerPC/Jit64/JitCache.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Data/User/GameConfig/G2MP01.ini b/Data/User/GameConfig/G2MP01.ini index 62b3f3ef33..3fe3f87b8b 100644 --- a/Data/User/GameConfig/G2MP01.ini +++ b/Data/User/GameConfig/G2MP01.ini @@ -3,7 +3,7 @@ #Values set here will override the main dolphin settings. [Speedhacks] # Patch OSYieldThread to take more time - MP2's idle loop is really stupid. -0x80375c68=200 +0x80375c68=400 [EmuState] #The Emulation State. 1 is worst, 5 is best, 0 is not set. EmulationStateId = 2 diff --git a/Source/Core/Core/Src/PowerPC/Jit64/JitCache.cpp b/Source/Core/Core/Src/PowerPC/Jit64/JitCache.cpp index 7cd30d25e2..88c8ddf6a8 100644 --- a/Source/Core/Core/Src/PowerPC/Jit64/JitCache.cpp +++ b/Source/Core/Core/Src/PowerPC/Jit64/JitCache.cpp @@ -71,8 +71,8 @@ namespace Jit64 TRAMPOLINE_SIZE = 1024*1024, //MAX_NUM_BLOCKS = 65536, }; - int CODE_SIZE = 1024*1024*8; // nonconstant to be able to have an option for it - int MAX_NUM_BLOCKS = 65536; + int CODE_SIZE = 1024*1024*16; // nonconstant to be able to have an option for it + int MAX_NUM_BLOCKS = 65536*2; static u8 **blockCodePointers; // cut these in half and force below 2GB?