summaryrefslogtreecommitdiff
path: root/src/const/render/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/const/render/graphics.h')
-rw-r--r--src/const/render/graphics.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/const/render/graphics.h b/src/const/render/graphics.h
index c30c2fd57..3ce01edd5 100644
--- a/src/const/render/graphics.h
+++ b/src/const/render/graphics.h
@@ -25,7 +25,12 @@
#include "localconsts.h"
+#ifdef __SWITCH__
+static const int defaultScreenWidth = 1280;
+static const int defaultScreenHeight = 720;
+#else
static const int defaultScreenWidth = 800;
static const int defaultScreenHeight = 600;
+#endif
#endif // CONST_RENDER_GRAPHICS_H