refactor/fix: Resolve some wmisc issues

> fix crashes around missing call convention/log hook
> enable wmisc for M39 as well, see #8
This commit is contained in:
[ ]
2026-01-11 21:11:55 +09:00
parent 26bc8fdda5
commit 244f4aa56a
4 changed files with 16 additions and 10 deletions
-8
View File
@@ -18,8 +18,6 @@
#endif
#include "hooks/setupapihook.h"
#include "hooks/sleephook.h"
#include "hooks/sndbhook.h"
#include "hooks/wmischook.h"
#include "launcher/options.h"
#include "touch/touch.h"
#include "misc/wintouchemu.h"
@@ -408,10 +406,6 @@ namespace games::iidx {
// init cfgmgr32 hooks
cfgmgr32hook_init(avs::game::DLL_INSTANCE);
// wine fixes
hooks::wmisc::apply_performance_hacks(avs::game::DLL_INSTANCE, avs::game::MODEL, avs::game::EXT);
hooks::soundbank::init(avs::game::DLL_INSTANCE, avs::game::MODEL, avs::game::EXT);
// report common errors on iidx31 and above
if (avs::game::is_ext(2023091500, MAXINT) && GRAPHICS_9_ON_12_STATE == DX9ON12_FORCE_ON) {
deferredlogs::defer_error_messages({
@@ -468,8 +462,6 @@ namespace games::iidx {
}
void IIDXGame::detach() {
hooks::soundbank::deinit(avs::game::DLL_INSTANCE);
Game::detach();
devicehook_dispose();