From eeb40fb079971ece6288e5210e42a9cc3fc95790 Mon Sep 17 00:00:00 2001 From: cpasjuste Date: Wed, 22 Apr 2020 18:19:18 +0200 Subject: switch: enable joystick and mouse --- src/graphicsmanager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/graphicsmanager.cpp') diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 4a5035909..2bdfdac43 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -481,6 +481,9 @@ void GraphicsManager::setVideoMode() int width = info->current_w; int height = info->current_h; #endif // USE_SDL2 +#elif defined __SWITCH__ + int width = 1280; + int height = 720; #else // defined __native_client__ int width = config.getIntValue("screenwidth"); -- cgit v1.2.3-60-g2f50