mirror of
https://github.com/esuo1198/TaikoArcadeLoader.git
synced 2026-10-10 16:18:30 +03:00
Add multiple new feature & update config/readme
累积更新 文档与配置更新 去掉多余的配置项读取
This commit is contained in:
+2
-9
@@ -28,8 +28,6 @@ bool useLayeredFs = false;
|
||||
bool emulateUsio = true;
|
||||
bool emulateCardReader = true;
|
||||
bool emulateQr = true;
|
||||
std::string datatableKey = "0000000000000000000000000000000000000000000000000000000000000000";
|
||||
std::string fumenKey = "0000000000000000000000000000000000000000000000000000000000000000";
|
||||
|
||||
HWND hGameWnd;
|
||||
HOOK (i32, ShowMouse, PROC_ADDRESS ("user32.dll", "ShowCursor"), bool) { return originalShowMouse.call<i32> (true); }
|
||||
@@ -180,12 +178,6 @@ DllMain (HMODULE module, DWORD reason, LPVOID reserved) {
|
||||
autoIme = readConfigBool (keyboard, "auto_ime", autoIme);
|
||||
jpLayout = readConfigBool (keyboard, "jp_layout", jpLayout);
|
||||
}
|
||||
auto layeredFs = openConfigSection (config, "layeredfs");
|
||||
if (layeredFs) {
|
||||
useLayeredFs = readConfigBool (layeredFs, "enabled", useLayeredFs);
|
||||
datatableKey = readConfigString (layeredFs, "datatable_key", datatableKey);
|
||||
fumenKey = readConfigString (layeredFs, "fumen_key", fumenKey);
|
||||
}
|
||||
}
|
||||
|
||||
if (version == "auto") {
|
||||
@@ -260,7 +252,8 @@ DllMain (HMODULE module, DWORD reason, LPVOID reserved) {
|
||||
patches::Audio::Init ();
|
||||
patches::Dxgi::Init ();
|
||||
patches::AmAuth::Init ();
|
||||
if (useLayeredFs) patches::LayeredFs::Init ();
|
||||
patches::LayeredFs::Init ();
|
||||
patches::TestMode::Init ();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user