mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Boot/BS2: Don't write part of the debugger hook
Writing to 0x60 does actually not "init exception[s]" or anything like that. Not at all. Rather, it *breaks* a check in Nintendo's SDK, which makes it fail to realise that the hook hasn't been set up. This prevents the SDK initialisation routines from writing the rest of the hook instructions (total: 0x20 bytes), which in turn causes an anti-piracy check to fail in some Ubisoft games (including Tintin). Dolphin can be really amazing sometimes.
This commit is contained in:
parent
d612416ce8
commit
6d73c3e8e3
@ -286,7 +286,6 @@ bool CBoot::SetupWiiMemory(u64 ios_title_id)
|
||||
Memory::Write_U32(0x00000000, 0x00000030); // Init
|
||||
Memory::Write_U32(0x817FEC60, 0x00000034); // Init
|
||||
// 38, 3C should get start, size of FST through apploader
|
||||
Memory::Write_U32(0x38a00040, 0x00000060); // Exception init
|
||||
Memory::Write_U32(0x8008f7b8, 0x000000e4); // Thread Init
|
||||
Memory::Write_U32(Memory::REALRAM_SIZE, 0x000000f0); // "Simulated memory size" (debug mode?)
|
||||
Memory::Write_U32(0x8179b500, 0x000000f4); // __start
|
||||
|
Loading…
Reference in New Issue
Block a user