Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkcgen <1557255+kcgen@users.noreply.github.com>2021-09-19 05:04:41 +0300
committerkcgen <1557255+kcgen@users.noreply.github.com>2021-09-19 05:04:41 +0300
commit2ae07021c7affa3f86413a68be089015f6a5803c (patch)
treeb6b9c7861c7208ee4138b95e271711c6c29f143c
parent8bb83970c34f03c5725b173bd306684a396cc5f6 (diff)
Initialize all SDL subsystems on startupkc/joystick-all-init-test-1
-rw-r--r--src/gui/sdlmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp
index 5b084f6c2..76b457d09 100644
--- a/src/gui/sdlmain.cpp
+++ b/src/gui/sdlmain.cpp
@@ -3596,7 +3596,7 @@ int sdl_main(int argc, char *argv[])
LOG_MSG("dosbox-staging version %s", DOSBOX_GetDetailedVersion());
LOG_MSG("---");
- if (SDL_Init(SDL_INIT_AUDIO | SDL_INIT_VIDEO) < 0)
+ if (SDL_Init(SDL_INIT_EVERYTHING) < 0)
E_Exit("Can't init SDL %s", SDL_GetError());
sdl.initialized = true;
// Once initialized, ensure we clean up SDL for all exit conditions