• Florian Will's avatar
    dinput: Fix EnumObjects callback return value handling. · dcb84a45
    Florian Will authored
    This solves an issue in ZUSI 3 settings for DirectInput devices. Delphi
    defines the True value of the "C-compatible" LongBool type as -1, which
    wine interpreted to mean DIENUM_STOP because it is != DIENUM_CONTINUE.
    Change that logic so only an explicit DIENUM_STOP (= 0) return value
    stops the enumeration of objects.
    dcb84a45
Name
Last commit
Last update
..
Makefile.in Loading commit data...
device8.c Loading commit data...
dinput.c Loading commit data...
dinput_test.h Loading commit data...
driver_bus.c Loading commit data...
driver_bus.spec Loading commit data...
driver_hid.c Loading commit data...
driver_hid.h Loading commit data...
driver_hid.spec Loading commit data...
driver_hid_poll.c Loading commit data...
driver_hid_poll.spec Loading commit data...
force_feedback.c Loading commit data...
hid.c Loading commit data...
hotplug.c Loading commit data...
joystick8.c Loading commit data...
pop_hid_macros.h Loading commit data...
psh_hid_macros.h Loading commit data...