feat: Resolve low framerate during song select for IIDX32+

> caused by bad code around thumbnail fetching logic including file checks in every draw call, see #4
> added `hooks::wmisc` for linux specific minor performance fixes and similar
This commit is contained in:
[ ]
2025-11-19 08:13:37 +09:00
parent 6561ea9230
commit e15c689061
8 changed files with 115 additions and 5 deletions
+3 -1
View File
@@ -19,6 +19,7 @@
#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,7 +409,8 @@ namespace games::iidx {
cfgmgr32hook_init(avs::game::DLL_INSTANCE);
// wine fixes
hooks::soundbank::init(avs::game::DLL_INSTANCE, avs::game::EXT);
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) {