code: Cleanups around added code

> related to #1
This commit is contained in:
[ ]
2025-05-28 00:27:46 +09:00
parent 0b6986e12c
commit f0855d9b53
5 changed files with 145 additions and 161 deletions
+3 -3
View File
@@ -17,7 +17,7 @@
#endif
#include "hooks/setupapihook.h"
#include "hooks/sleephook.h"
#include "hooks/bmsbhook.h"
#include "hooks/sndbhook.h"
#include "launcher/options.h"
#include "touch/touch.h"
#include "misc/wintouchemu.h"
@@ -376,7 +376,7 @@ namespace games::iidx {
cfgmgr32hook_init(avs::game::DLL_INSTANCE);
// wine fixes
hooks::bmsb::init(avs::game::DLL_INSTANCE, avs::game::EXT);
hooks::soundbank::init(avs::game::DLL_INSTANCE, avs::game::EXT);
}
@@ -427,7 +427,7 @@ namespace games::iidx {
}
void IIDXGame::detach() {
hooks::bmsb::deinit(avs::game::DLL_INSTANCE);
hooks::soundbank::deinit(avs::game::DLL_INSTANCE);
Game::detach();