summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/framebuffer_layout.h
diff options
context:
space:
mode:
authorVitor Kiguchi <vitor-kiguchi@hotmail.com>2020-03-11 18:02:30 +0100
committerVitor Kiguchi <vitor-kiguchi@hotmail.com>2020-03-11 18:22:28 +0100
commite891ff9a0cbd5466fff302ff73862f3a73440efd (patch)
treed151dcd6e1f9e167c7eb71d03dd50fdda6d20f8c /src/core/frontend/framebuffer_layout.h
parentMerge pull request #3458 from FearlessTobi/voice-issues (diff)
downloadyuzu-e891ff9a0cbd5466fff302ff73862f3a73440efd.tar
yuzu-e891ff9a0cbd5466fff302ff73862f3a73440efd.tar.gz
yuzu-e891ff9a0cbd5466fff302ff73862f3a73440efd.tar.bz2
yuzu-e891ff9a0cbd5466fff302ff73862f3a73440efd.tar.lz
yuzu-e891ff9a0cbd5466fff302ff73862f3a73440efd.tar.xz
yuzu-e891ff9a0cbd5466fff302ff73862f3a73440efd.tar.zst
yuzu-e891ff9a0cbd5466fff302ff73862f3a73440efd.zip
Diffstat (limited to 'src/core/frontend/framebuffer_layout.h')
-rw-r--r--src/core/frontend/framebuffer_layout.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/frontend/framebuffer_layout.h b/src/core/frontend/framebuffer_layout.h
index e9d0a40d3..15ecfb13d 100644
--- a/src/core/frontend/framebuffer_layout.h
+++ b/src/core/frontend/framebuffer_layout.h
@@ -8,15 +8,15 @@
namespace Layout {
-enum ScreenUndocked : u32 {
- Width = 1280,
- Height = 720,
-};
+namespace ScreenUndocked {
+constexpr u32 Width = 1280;
+constexpr u32 Height = 720;
+} // namespace ScreenUndocked
-enum ScreenDocked : u32 {
- WidthDocked = 1920,
- HeightDocked = 1080,
-};
+namespace ScreenDocked {
+constexpr u32 Width = 1920;
+constexpr u32 Height = 1080;
+} // namespace ScreenDocked
enum class AspectRatio {
Default,