mirror of
https://github.com/nefarius/ViGEmBus.git
synced 2025-08-10 00:52:17 +00:00
Fixed crash on 32-bit builds caused by calling convention mismatch
This commit is contained in:
@@ -487,7 +487,7 @@ VIGEM_ERROR vigem_target_x360_register_notification(
|
||||
return;
|
||||
}
|
||||
|
||||
reinterpret_cast<PFN_VIGEM_X360_NOTIFICATION>(_Target->Notification)(
|
||||
PFN_VIGEM_X360_NOTIFICATION(_Target->Notification)(
|
||||
_Client,
|
||||
_Target,
|
||||
notify.LargeMotor,
|
||||
@@ -563,7 +563,7 @@ VIGEM_ERROR vigem_target_ds4_register_notification(
|
||||
return;
|
||||
}
|
||||
|
||||
reinterpret_cast<PFN_VIGEM_DS4_NOTIFICATION>(_Target->Notification)(
|
||||
PFN_VIGEM_DS4_NOTIFICATION(_Target->Notification)(
|
||||
_Client,
|
||||
_Target,
|
||||
notify.Report.LargeMotor,
|
||||
|
||||
Reference in New Issue
Block a user