From aa471f7f59f3dcc3cf0b6efc6213e53ea0453c9c Mon Sep 17 00:00:00 2001 From: Vincent-FK Date: Fri, 2 Apr 2021 17:09:50 +0200 Subject: [PATCH] forcing 320x240 res --- plat_sdl.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plat_sdl.c b/plat_sdl.c index 0624d58..4242d21 100644 --- a/plat_sdl.c +++ b/plat_sdl.c @@ -206,8 +206,12 @@ int plat_sdl_init(void) info = SDL_GetVideoInfo(); if (info != NULL) { - fs_w = info->current_w; - fs_h = info->current_h; + /*fs_w = info->current_w; + fs_h = info->current_h;*/ + + // Force 320x240 on FunKey S + fs_w = 320; + fs_h = 240; printf("plat_sdl: using %dx%d as fullscreen resolution\n", fs_w, fs_h); }