diff options
| author | Nikita Strygin <nikita6@bk.ru> | 2023-12-30 13:18:42 +0300 |
|---|---|---|
| committer | Nikita Strygin <nikita6@bk.ru> | 2023-12-30 13:32:33 +0300 |
| commit | 9323a1f9b20e9ff9d02ba75baba4e43df5eee0e6 (patch) | |
| tree | 20feb7f8587298a8d6636589324f0ef0664d6dc6 /src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp | |
| parent | 12178c694ab20898c2d007e0efb30a28d1aee100 (diff) | |
yuzu_cmd: Report more SDL errors
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp')
| -rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp index 9ed47d453..8b916f05c 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp @@ -28,7 +28,8 @@ EmuWindow_SDL2_VK::EmuWindow_SDL2_VK(InputCommon::InputSubsystem* input_subsyste SDL_SysWMinfo wm; SDL_VERSION(&wm.version); if (SDL_GetWindowWMInfo(render_window, &wm) == SDL_FALSE) { - LOG_CRITICAL(Frontend, "Failed to get information from the window manager"); + LOG_CRITICAL(Frontend, "Failed to get information from the window manager: {}", + SDL_GetError()); std::exit(EXIT_FAILURE); } |
