mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
Don't lock mouse Y axis during fadeins - VC
This commit is contained in:
parent
06c0264236
commit
7441e28d41
1 changed files with 15 additions and 0 deletions
|
@ -275,6 +275,11 @@ void Patch_VC_10(const RECT& desktop)
|
|||
Patch<const void*>(0x47AE27 + 0x1CC + 0x2, sens);
|
||||
Patch<const void*>(0x47BE8F + 0x22E + 0x2, sens);
|
||||
Patch<const void*>(0x481AB3 + 0x4FE + 0x2, sens);
|
||||
|
||||
// Don't lock mouse Y axis during fadeins
|
||||
Patch<BYTE>(0x47C11E, 0xEB);
|
||||
Patch<BYTE>(0x47CD94, 0xEB);
|
||||
Nop(0x47C15A, 2);
|
||||
}
|
||||
|
||||
void Patch_VC_11(const RECT& desktop)
|
||||
|
@ -377,6 +382,11 @@ void Patch_VC_11(const RECT& desktop)
|
|||
Patch<const void*>(0x47AE27 + 0x1CC + 0x2, sens);
|
||||
Patch<const void*>(0x47BE8F + 0x22E + 0x2, sens);
|
||||
Patch<const void*>(0x481AB3 + 0x4FE + 0x2, sens);
|
||||
|
||||
// Don't lock mouse Y axis during fadeins
|
||||
Patch<BYTE>(0x47C11E, 0xEB);
|
||||
Patch<BYTE>(0x47CD94, 0xEB);
|
||||
Nop(0x47C15A, 2);
|
||||
}
|
||||
|
||||
void Patch_VC_Steam(const RECT& desktop)
|
||||
|
@ -479,6 +489,11 @@ void Patch_VC_Steam(const RECT& desktop)
|
|||
Patch<const void*>(0x47AD07 + 0x1CC + 0x2, sens);
|
||||
Patch<const void*>(0x47BD6F + 0x22E + 0x2, sens);
|
||||
Patch<const void*>(0x481993 + 0x4FE + 0x2, sens);
|
||||
|
||||
// Don't lock mouse Y axis during fadeins
|
||||
Patch<BYTE>(0x47BFFE, 0xEB);
|
||||
Patch<BYTE>(0x47CC74, 0xEB);
|
||||
Nop(0x47C03A, 2);
|
||||
}
|
||||
|
||||
void Patch_VC_JP()
|
||||
|
|
Loading…
Reference in a new issue