Force landscape mode

This commit is contained in:
leo60228 2024-01-26 15:59:56 -05:00
parent 7bd22d3388
commit de6e87c32e
No known key found for this signature in database
GPG Key ID: 6F3EB461799AD95E
1 changed files with 2 additions and 0 deletions

View File

@ -562,6 +562,8 @@ int main(int argc, char *argv[])
/* We already do the button swapping in ButtonGlyphs, disable SDL's swapping */
SDL_SetHintWithPriority(SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS, "0", SDL_HINT_OVERRIDE);
SDL_SetHintWithPriority(SDL_HINT_ORIENTATIONS, "LandscapeLeft LandscapeRight", SDL_HINT_OVERRIDE);
if(!FILESYSTEM_init(argv[0], baseDir, assetsPath, langDir, fontsDir))
{
vlog_error("Unable to initialize filesystem!");