diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-07-12 22:53:23 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-07-12 22:53:23 -0400 |
| commit | 597c49efb7fa9c050b08a4087f2114a820cf2aaf (patch) | |
| tree | f0db3099872c73bf1e692652d1f46a609f60ab93 /src | |
| parent | 2def735282a0584a5a2b3ed007bd99ddfb72b394 (diff) | |
OSReboot OK
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphin/os/OSReboot.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dolphin/os/OSReboot.c b/src/dolphin/os/OSReboot.c index 92879288..1da64fc3 100644 --- a/src/dolphin/os/OSReboot.c +++ b/src/dolphin/os/OSReboot.c @@ -67,7 +67,6 @@ void ReadApploader(DVDCommandBlock* dvdCmd, void* addr, u32 offset, u32 numBytes static void Callback(s32 result, struct DVDCommandBlock* block) { Prepared = TRUE; } void __OSReboot(u32 resetCode, u32 bootDol) { - /* Nonmatching */ OSContext exceptionContext; DVDCommandBlock dvdCmd; DVDCommandBlock dvdCmd2; @@ -76,9 +75,8 @@ void __OSReboot(u32 resetCode, u32 bootDol) { OSDisableInterrupts(); - UNK_817FFFFC = 1; - UNK_817FFFF8 = 1; - OS_RESET_CODE = resetCode; + UNK_817FFFFC = 0; + UNK_817FFFF8 = 0; OS_REBOOT_BOOL = TRUE; BOOT_REGION_START = (u32)SaveStart; BOOT_REGION_END = (u32)SaveEnd; |
