Moved callbacks to config.cpp, fixed Subtitles option not applying to stages (#400)

This commit is contained in:
Hyper
2025-02-13 17:30:12 +00:00
committed by GitHub
parent 431a6d9841
commit 414ccb3637
9 changed files with 62 additions and 86 deletions
-7
View File
@@ -43,13 +43,6 @@ bool DisableDLCIconMidAsmHook()
return Config::DisableDLCIcon;
}
void ToggleSubtitlesMidAsmHook(PPCRegister& r27)
{
auto pApplicationDocument = (SWA::CApplicationDocument*)g_memory.Translate(r27.u32);
pApplicationDocument->m_InspireSubtitles = Config::Subtitles;
}
void WerehogBattleMusicMidAsmHook(PPCRegister& r11)
{
if (Config::BattleTheme)