Boot_BS2Emu: Create an actual function for AppLoaderReport

Before, we used a replace hook and didn't write anything there. Now, we write a BLR instruction to immediately return, and then use a start hook. This makes the behavior a bit clearer (though it shoudln't matter in practice).
This commit is contained in:
Pokechu22 2022-07-29 12:16:20 -07:00
commit d3d7cc6f96
2 changed files with 3 additions and 2 deletions

View file

@ -58,7 +58,7 @@ constexpr std::array<Hook, 23> os_patches{{
{"GeckoCodehandler", HLE_Misc::GeckoCodeHandlerICacheFlush, HookType::Start, HookFlag::Fixed},
{"GeckoHandlerReturnTrampoline", HLE_Misc::GeckoReturnTrampoline, HookType::Replace, HookFlag::Fixed},
{"AppLoaderReport", HLE_OS::HLE_GeneralDebugPrint, HookType::Replace, HookFlag::Fixed} // apploader needs OSReport-like function
{"AppLoaderReport", HLE_OS::HLE_GeneralDebugPrint, HookType::Start, HookFlag::Fixed} // apploader needs OSReport-like function
}};
// clang-format on