1
0
mirror of synced 2024-11-15 07:17:35 +01:00

- Taiko: Added SharedAudioMode (Credits: Mon)

This commit is contained in:
Harm 2021-08-31 22:24:16 +02:00
parent 4b9279cab1
commit 5a0c8ce903

View File

@ -433,7 +433,7 @@ static InitFunction TaikoFunc([]()
injector::WriteMemory<DWORD>(imageBase + 0x224B32, resHeight, true);
}
// Fixes by the Taiko community (thanks Swigz and Samyuu!)
// Fixes by the Taiko community (thanks Swigz, Samyuu and Mon!)
if (ToBool(config["General"]["FixAnimationsEnable"]))
{
DWORD aniFps = FetchDwordInformation("General", "FixAnimationsFps", 120);
@ -449,6 +449,11 @@ static InitFunction TaikoFunc([]()
injector::WriteMemoryRaw(imageBase + 0x1F6B78, "\xB0\x01", 2, true); // 32 C0 (XOR AL, AL) -> B0 01 (MOV AL, 1)
}
if (ToBool(config["General"]["SharedAudioMode"]))
{
injector::WriteMemory<BYTE>(imageBase + 0x552177, 0xEB, true); // 74 (JZ) -> EB (JMP)
}
// Hooks
MH_Initialize();