• 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
..
tests Loading commit data...
Makefile.in Loading commit data...
ansi.c Loading commit data...
config.c Loading commit data...
data_formats.c Loading commit data...
device.c Loading commit data...
device_private.h Loading commit data...
dinput.c Loading commit data...
dinput.rc Loading commit data...
dinput.spec Loading commit data...
dinput_classes.idl Loading commit data...
dinput_main.c Loading commit data...
dinput_private.h Loading commit data...
joystick_hid.c Loading commit data...
keyboard.c Loading commit data...
mouse.c Loading commit data...
resource.h Loading commit data...
version.rc Loading commit data...