• Show log

    Commit

  • Hash : 7e5340c5
    Author : David Ludwig
    Date : 2020-03-17T17:34:24

    Fix for Bug 5034 - Replugging in a controller crashes on macOS in SDL 2.0.12
    
    This is a multi-part fix, and is the 2nd attempt at a fix for Bug 5034.  Here
    are the problems being addressed:
    
    1. On macOS 10.14.x and earlier, trying to call IOHIDDeviceUnscheduleFromRunLoop
       without a prior, paired call to IOHIDDeviceScheduleWithRunLoop, appears to
       lead to a crash.  A per-device flag has been added to make sure that these
       calls are paired.
    2. DARWIN_JoystickDetect was free'ing its SDL_joystick's hwdata field
       (via FreeDevice) without setting it to NULL, and DARWIN_JoystickRumble wasn't
       checking for a NULL hwdata.  FreeDevice will now set hwdata to NULL and
       DARWIN_JoystickRumble will check for a NULL hwdata.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags