Increase vscale_border limit to 399.

This commit is contained in:
sorgelig
2019-12-04 19:37:49 +08:00
parent 693f52d095
commit 8ca087b7e5
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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 },

2
cfg.h
View File

@@ -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;