Implement endian swapping and lazy decryption of Triforce DI commands

This commit is contained in:
Zopolis4 committed 2025-04-21 22:05:25 +10:00
1 parent 8d94d25203
commit 2baa09d5b4
2 files changed
+16

No files matched your search

+7
View File
@@ -227,6 +227,13 @@ bool CBoot::RunApploader(Core::System& system, const Core::CPUThreadGuard& guard
ppc_state.pc = ppc_state.gpr[3];
branch_watch.SetRecordingActive(guard, resume_branch_watch);
// Blank out session key (https://debugmo.de/2008/05/part-2-dumping-the-media-board/)
if (volume.GetVolumeType() == DiscIO::Platform::Triforce)
{
auto& memory = system.GetMemory();
memory.Memset(0, 0, 12);
}
return true;
}