summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
diff options
context:
space:
mode:
authorNikita Strygin <nikita6@bk.ru>2023-12-30 11:18:42 +0100
committerNikita Strygin <nikita6@bk.ru>2023-12-30 11:32:33 +0100
commit9323a1f9b20e9ff9d02ba75baba4e43df5eee0e6 (patch)
tree20feb7f8587298a8d6636589324f0ef0664d6dc6 /src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
parentMerge pull request #12455 from liamwhite/end-wait (diff)
downloadyuzu-9323a1f9b20e9ff9d02ba75baba4e43df5eee0e6.tar
yuzu-9323a1f9b20e9ff9d02ba75baba4e43df5eee0e6.tar.gz
yuzu-9323a1f9b20e9ff9d02ba75baba4e43df5eee0e6.tar.bz2
yuzu-9323a1f9b20e9ff9d02ba75baba4e43df5eee0e6.tar.lz
yuzu-9323a1f9b20e9ff9d02ba75baba4e43df5eee0e6.tar.xz
yuzu-9323a1f9b20e9ff9d02ba75baba4e43df5eee0e6.tar.zst
yuzu-9323a1f9b20e9ff9d02ba75baba4e43df5eee0e6.zip
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2.cpp')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
index 5153cdb79..1a35d471c 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
@@ -20,7 +20,7 @@ EmuWindow_SDL2::EmuWindow_SDL2(InputCommon::InputSubsystem* input_subsystem_, Co
: input_subsystem{input_subsystem_}, system{system_} {
input_subsystem->Initialize();
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_GAMECONTROLLER) < 0) {
- LOG_CRITICAL(Frontend, "Failed to initialize SDL2! Exiting...");
+ LOG_CRITICAL(Frontend, "Failed to initialize SDL2: {}, Exiting...", SDL_GetError());
exit(1);
}
SDL_SetMainReady();