diff options
author | cpasjuste <cpasjuste@gmail.com> | 2020-04-22 18:19:18 +0200 |
---|---|---|
committer | cpasjuste <cpasjuste@gmail.com> | 2020-04-22 18:19:18 +0200 |
commit | eeb40fb079971ece6288e5210e42a9cc3fc95790 (patch) | |
tree | 0c9a1e45861dbdec7a344b6280831527f71f5ca2 /src/graphicsmanager.cpp | |
parent | f43e3aa48aeb561f5c7e85f1b7121aab6a61decd (diff) | |
download | manaverse-eeb40fb079971ece6288e5210e42a9cc3fc95790.tar.gz manaverse-eeb40fb079971ece6288e5210e42a9cc3fc95790.tar.bz2 manaverse-eeb40fb079971ece6288e5210e42a9cc3fc95790.tar.xz manaverse-eeb40fb079971ece6288e5210e42a9cc3fc95790.zip |
switch: enable joystick and mouse
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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"); |