Skip to content
  • Stephen Anthony's avatar
    Add timer/callback functionality to OSystem. · 2e298486
    Stephen Anthony authored
    Previously this was done by SDL_AddTimer, but the new approach is much better:
    - it is proper C++ (using std::thread and lambdas)
    - It is not tied to the SDL toolkit, which is C-based
    Also, re-added logic to reset events ~0.5 seconds after starting ROM emulation; this resets 'hold' events
    2e298486