From 6663e5b21fea2abe0d9824615f173a06df38bf22 Mon Sep 17 00:00:00 2001 From: Nathan Date: Thu, 5 Oct 2017 22:32:36 -0500 Subject: [PATCH] fixed upscale default for RPI Former-commit-id: a0c3672d310519229fbe15dff2e55fa0dcbc81cc Former-commit-id: 36042c20daf79197a3d718a9b5d0db58d124485f --- sdl1090/init.c | 2 ++ sdl1090/status.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sdl1090/init.c b/sdl1090/init.c index b4c35a2..b7ef594 100644 --- a/sdl1090/init.c +++ b/sdl1090/init.c @@ -57,6 +57,8 @@ void init(char *title) Modes.screen_width = vInfo->current_w; Modes.screen_height = vInfo->current_h; Modes.screen_depth = vInfo->vfmt->BitsPerPixel; + + Modes.screen_upscale = 1; #endif diff --git a/sdl1090/status.c b/sdl1090/status.c index 85e4ada..c639474 100644 --- a/sdl1090/status.c +++ b/sdl1090/status.c @@ -40,7 +40,7 @@ void updateStatus() { maxDist = d; } - if(d < 100.0) { + if(d < 4.0) { Status.closeCall = a; }