summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-23 18:26:56 +0200
committerGitHub <noreply@github.com>2021-04-23 18:26:56 +0200
commit19bbdedf00db2c611debada864821ce63f6532e4 (patch)
treeda8ff437572d41c249be8047d75e8560d3d7aa8d /src/yuzu_cmd
parentMerge pull request #6225 from ameerj/unused-header (diff)
parentemu_window: Return pair from ClipToTouchScreen() instead of tuple (diff)
downloadyuzu-19bbdedf00db2c611debada864821ce63f6532e4.tar
yuzu-19bbdedf00db2c611debada864821ce63f6532e4.tar.gz
yuzu-19bbdedf00db2c611debada864821ce63f6532e4.tar.bz2
yuzu-19bbdedf00db2c611debada864821ce63f6532e4.tar.lz
yuzu-19bbdedf00db2c611debada864821ce63f6532e4.tar.xz
yuzu-19bbdedf00db2c611debada864821ce63f6532e4.tar.zst
yuzu-19bbdedf00db2c611debada864821ce63f6532e4.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.cpp2
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.h2
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;