dinput: Force debug info in critical sections.
This commit is contained in:
parent
2497a53484
commit
a485f6b4a3
1 changed files with 1 additions and 1 deletions
|
@ -2131,7 +2131,7 @@ void dinput_device_init( struct dinput_device *device, const struct dinput_devic
|
|||
device->device_gain = 10000;
|
||||
device->autocenter = DIPROPAUTOCENTER_ON;
|
||||
device->force_feedback_state = DIGFFS_STOPPED | DIGFFS_EMPTY;
|
||||
InitializeCriticalSection( &device->crit );
|
||||
InitializeCriticalSectionEx( &device->crit, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO );
|
||||
dinput_internal_addref( (device->dinput = dinput) );
|
||||
device->vtbl = vtbl;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue