From 8ca087b7e5c39142666b2caae5399c6d806223a7 Mon Sep 17 00:00:00 2001 From: sorgelig Date: Wed, 4 Dec 2019 19:37:49 +0800 Subject: [PATCH] Increase vscale_border limit to 399. --- MiSTer.ini | 2 +- cfg.cpp | 2 +- cfg.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MiSTer.ini b/MiSTer.ini index 6a24542..3c46e68 100644 --- a/MiSTer.ini +++ b/MiSTer.ini @@ -11,7 +11,7 @@ vscale_mode=0 ; 0 - scale to fit the screen height. ; 1 - use integer scale only. ; 2 - use 0.5 steps of scale. ; 3 - use 0.25 steps of scale. -vscale_border=0 ; set vertical border for TVs cutting the upper/bottom parts of screen (1-99) +vscale_border=0 ; set vertical border for TVs cutting the upper/bottom parts of screen (1-399) ;bootscreen=0 ; uncomment to disable boot screen of some cores like Minimig. ;mouse_throttle=10 ; 1-100 mouse speed divider. Useful for very sensitive mice rbf_hide_datecode=0 ; 1 - hides datecodes from rbf file names. Press F2 for quick temporary toggle diff --git a/cfg.cpp b/cfg.cpp index 929e1c3..b809ae4 100644 --- a/cfg.cpp +++ b/cfg.cpp @@ -46,7 +46,7 @@ const ini_var_t ini_vars[] = { { "BOOTSCREEN", (void*)(&(cfg.bootscreen)), UINT8, 0, 1 }, { "VOLUMECTL", (void*)(&(cfg.volumectl)), UINT8, 0, 1 }, { "VSCALE_MODE", (void*)(&(cfg.vscale_mode)), UINT8, 0, 3 }, - { "VSCALE_BORDER", (void*)(&(cfg.vscale_border)), UINT8, 0, 100 }, + { "VSCALE_BORDER", (void*)(&(cfg.vscale_border)), UINT8, 0, 399 }, { "RBF_HIDE_DATECODE", (void*)(&(cfg.rbf_hide_datecode)), UINT8, 0, 1 }, { "MENU_PAL", (void*)(&(cfg.menu_pal)), UINT8, 0, 1 }, { "BOOTCORE", (void*)(&(cfg.bootcore)), STRING, 0, sizeof(cfg.bootcore) - 1 }, diff --git a/cfg.h b/cfg.h index d61b3aa..7df0090 100644 --- a/cfg.h +++ b/cfg.h @@ -32,7 +32,7 @@ typedef struct { uint8_t bootscreen; uint8_t volumectl; uint8_t vscale_mode; - uint8_t vscale_border; + uint16_t vscale_border; uint8_t rbf_hide_datecode; uint8_t menu_pal; int16_t bootcore_timeout;