From: Jean-Paul Mari Date: Sun, 28 Oct 2018 10:14:55 +0000 (-0400) Subject: Added timer initialisation for the SDL setup X-Git-Tag: v2.1.3-R4~13 X-Git-Url: http://git.hcoop.net/clinton/Virtual-Jaguar-Rx.git/commitdiff_plain/a89c592b8f3c485e444512bb3aea24468b66da0b Added timer initialisation for the SDL setup --- diff --git a/src/gui/app.cpp b/src/gui/app.cpp index b9903e0..63a2501 100644 --- a/src/gui/app.cpp +++ b/src/gui/app.cpp @@ -17,7 +17,7 @@ // JPM Sept./2016 Visual Studio support, and Soft debugger support (--debugger) // JPM 09/ /2017 Added option (--dram-max) to support 8MB ram (which doesn't exist) // JPM Sept./2017 Added the 'Rx' word to the emulator name, updated the credits line, added option (--es-all, --es-ui, --es-alpine & --es-debugger) to support the erase settings -// JPM 10/09/2018 Added the Rx version's contact in the help text +// JPM Oct./2018 Added the Rx version's contact in the help text, added timer initialisation in the SDL_Init // #include "app.h" @@ -106,7 +106,7 @@ int main(int argc, char * argv[]) } // Set up SDL library - if (SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_AUDIO) < 0) + if (SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_AUDIO | SDL_INIT_TIMER) < 0) { WriteLog("VJ: Could not initialize the SDL library: %s\n", SDL_GetError()); }