summaryrefslogtreecommitdiff
path: root/src/const
diff options
context:
space:
mode:
authorcpasjuste <cpasjuste@gmail.com>2020-04-24 13:29:55 +0200
committercpasjuste <cpasjuste@gmail.com>2020-04-24 13:29:55 +0200
commitfae5ba054cf9b82da218cfc4df7686f13d3107d3 (patch)
tree347159ce0b72e6b21cd14450418997cc496746ad /src/const
parentfb95def24c42392fe79b6ab672b5a6edc7210195 (diff)
downloadplus-fae5ba054cf9b82da218cfc4df7686f13d3107d3.tar.gz
plus-fae5ba054cf9b82da218cfc4df7686f13d3107d3.tar.bz2
plus-fae5ba054cf9b82da218cfc4df7686f13d3107d3.tar.xz
plus-fae5ba054cf9b82da218cfc4df7686f13d3107d3.zip
switch: add escape button (+)
switch: change default screen size
Diffstat (limited to 'src/const')
-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