diff options
author | Lioncash <mathew1800@gmail.com> | 2021-04-23 17:17:33 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-04-23 17:19:32 +0200 |
commit | 8805233f5e6360c5153e66c8937d5e7ae94c2143 (patch) | |
tree | 4a8948cbe4825521b4bb3bcd892db779499f4be7 /src/yuzu_cmd | |
parent | Merge pull request #6223 from lat9nq/ffmpeg-external-fixes (diff) | |
download | yuzu-8805233f5e6360c5153e66c8937d5e7ae94c2143.tar yuzu-8805233f5e6360c5153e66c8937d5e7ae94c2143.tar.gz yuzu-8805233f5e6360c5153e66c8937d5e7ae94c2143.tar.bz2 yuzu-8805233f5e6360c5153e66c8937d5e7ae94c2143.tar.lz yuzu-8805233f5e6360c5153e66c8937d5e7ae94c2143.tar.xz yuzu-8805233f5e6360c5153e66c8937d5e7ae94c2143.tar.zst yuzu-8805233f5e6360c5153e66c8937d5e7ae94c2143.zip |
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | 2 | ||||
-rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp index 3bb555a6b..d64f81106 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp @@ -238,6 +238,6 @@ void EmuWindow_SDL2::SetWindowIcon() { SDL_FreeSurface(window_icon); } -void EmuWindow_SDL2::OnMinimalClientAreaChangeRequest(std::pair<unsigned, unsigned> minimal_size) { +void EmuWindow_SDL2::OnMinimalClientAreaChangeRequest(std::pair<u32, u32> minimal_size) { SDL_SetWindowMinimumSize(render_window, minimal_size.first, minimal_size.second); } diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.h b/src/yuzu_cmd/emu_window/emu_window_sdl2.h index 0e17bbca7..1b9ab5b93 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2.h +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.h @@ -71,7 +71,7 @@ protected: void Fullscreen(); /// Called when a configuration change affects the minimal size of the window - void OnMinimalClientAreaChangeRequest(std::pair<unsigned, unsigned> minimal_size) override; + void OnMinimalClientAreaChangeRequest(std::pair<u32, u32> minimal_size) override; /// Is the window still open? bool is_open = true; |