fixed upscale default for RPI

Former-commit-id: 163b68da5a6d3bad28b5922fbc626b6e05241c40
Former-commit-id: 3f5c74bc2e4d1b53a904092e1ff53aed32b71855
This commit is contained in:
Nathan 2017-10-05 22:32:36 -05:00
parent aa8e3dca4b
commit 374f2bc972
2 changed files with 3 additions and 1 deletions

View file

@ -57,6 +57,8 @@ void init(char *title)
Modes.screen_width = vInfo->current_w; Modes.screen_width = vInfo->current_w;
Modes.screen_height = vInfo->current_h; Modes.screen_height = vInfo->current_h;
Modes.screen_depth = vInfo->vfmt->BitsPerPixel; Modes.screen_depth = vInfo->vfmt->BitsPerPixel;
Modes.screen_upscale = 1;
#endif #endif

View file

@ -40,7 +40,7 @@ void updateStatus() {
maxDist = d; maxDist = d;
} }
if(d < 100.0) { if(d < 4.0) {
Status.closeCall = a; Status.closeCall = a;
} }