diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/frontend/emu_window.cpp | 2 | ||||
| -rw-r--r-- | src/core/frontend/framebuffer_layout.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/core/frontend/emu_window.cpp b/src/core/frontend/emu_window.cpp index eda466a5d..9a081fbd4 100644 --- a/src/core/frontend/emu_window.cpp +++ b/src/core/frontend/emu_window.cpp | |||
| @@ -46,7 +46,7 @@ private: | |||
| 46 | EmuWindow::EmuWindow() { | 46 | EmuWindow::EmuWindow() { |
| 47 | // TODO: Find a better place to set this. | 47 | // TODO: Find a better place to set this. |
| 48 | config.min_client_area_size = | 48 | config.min_client_area_size = |
| 49 | std::make_pair(Layout::ScreenUndocked::Width, Layout::ScreenUndocked::Height); | 49 | std::make_pair(Layout::MinimumSize::Width, Layout::MinimumSize::Height); |
| 50 | active_config = config; | 50 | active_config = config; |
| 51 | touch_state = std::make_shared<TouchState>(); | 51 | touch_state = std::make_shared<TouchState>(); |
| 52 | Input::RegisterFactory<Input::TouchDevice>("emu_window", touch_state); | 52 | Input::RegisterFactory<Input::TouchDevice>("emu_window", touch_state); |
diff --git a/src/core/frontend/framebuffer_layout.h b/src/core/frontend/framebuffer_layout.h index 15ecfb13d..91ecc30ab 100644 --- a/src/core/frontend/framebuffer_layout.h +++ b/src/core/frontend/framebuffer_layout.h | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | 8 | ||
| 9 | namespace Layout { | 9 | namespace Layout { |
| 10 | 10 | ||
| 11 | namespace MinimumSize { | ||
| 12 | constexpr u32 Width = 640; | ||
| 13 | constexpr u32 Height = 360; | ||
| 14 | } // namespace MinimumSize | ||
| 15 | |||
| 11 | namespace ScreenUndocked { | 16 | namespace ScreenUndocked { |
| 12 | constexpr u32 Width = 1280; | 17 | constexpr u32 Width = 1280; |
| 13 | constexpr u32 Height = 720; | 18 | constexpr u32 Height = 720; |