summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2010-09-02 01:20:27 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2010-09-02 01:20:27 +0000
commitab56cf9c1cbeebd4554c7b95abe279e7bea3cd98 (patch)
tree0bdbac2fa32c5a02f6fb513bb289ad4bb1461621 /Source
parent7afd393acbe1aa9298b1003fbaaf3300616dce33 (diff)
stop trying to patch out OSProtectRange calls
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6160 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp4
-rw-r--r--Source/Core/Core/Src/HLE/HLE.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp b/Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp
index c2db844f13..29bc0f491c 100644
--- a/Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp
+++ b/Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp
@@ -83,7 +83,7 @@ bool CBoot::EmulatedBS2_GC()
Memory::Write_U64((u64)CEXIIPL::GetGCTime() * (u64)40500000, 0x800030D8); // preset time base ticks
- Memory::Write_U32(((1 & 0x3f) << 26) | 2, 0x81300000); // HLE OSReport for Apploader
+ Memory::Write_U32(((1 & 0x3f) << 26) | 1, 0x81300000); // HLE OSReport for Apploader
// Load Apploader to Memory - The apploader is hardcoded to begin at 0x2440 on the disc,
// but the size can differ between discs. Compare with yagcd chap 13.
@@ -319,7 +319,7 @@ bool CBoot::EmulatedBS2_Wii()
Memory::Write_U32(0x4c000064, 0x80000800); // write default FPU Handler: rfi
Memory::Write_U32(0x4c000064, 0x80000C00); // write default Syscall Handler: rfi
- Memory::Write_U32(((1 & 0x3f) << 26) | 2, 0x81300000); // HLE OSReport for Apploader
+ Memory::Write_U32(((1 & 0x3f) << 26) | 1, 0x81300000); // HLE OSReport for Apploader
PowerPC::ppcState.gpr[1] = 0x816ffff0; // StackPointer
diff --git a/Source/Core/Core/Src/HLE/HLE.cpp b/Source/Core/Core/Src/HLE/HLE.cpp
index abcd3c738e..a3c912ef2f 100644
--- a/Source/Core/Core/Src/HLE/HLE.cpp
+++ b/Source/Core/Core/Src/HLE/HLE.cpp
@@ -53,7 +53,7 @@ static const SPatch OSPatches[] =
{ "FAKE_TO_SKIP_0", HLE_Misc::UnimplementedFunction },
// speedup
- { "OSProtectRange", HLE_Misc::UnimplementedFunctionFalse },
+ //{ "OSProtectRange", HLE_Misc::UnimplementedFunctionFalse },
//{ "THPPlayerGetState", HLE_Misc:THPPlayerGetState },
@@ -68,7 +68,7 @@ static const SPatch OSPatches[] =
{ "__write_console", HLE_OS::HLE_write_console }, // used by sysmenu (+more?)
// wii only
- { "__OSInitAudioSystem", HLE_Misc::UnimplementedFunction },
+ //{ "__OSInitAudioSystem", HLE_Misc::UnimplementedFunction },
// Super Monkey Ball - no longer needed.
//{ ".evil_vec_cosine", HLE_Misc::SMB_EvilVecCosine },