Clear all arm9 cpu registers before jumping to the arm9 entry point. Fixes Cake Ninja DSiWare titles.

This commit is contained in:
Gericom
2025-11-30 13:00:35 +01:00
parent 4701b9d1b7
commit b2fabe5d97
3 changed files with 36 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
#pragma once
/// @brief Clears all cpu registers and jumps to the specified \p arm9EntryPoint.
/// @param arm9EntryPoint The arm9 entry point to jump to.
extern "C" void jumpToArm9EntryPoint(void* arm9EntryPoint);