Skip to content

Commit 534bd9d

Browse files
committed
added configfle.c and .h
1 parent 15eab77 commit 534bd9d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/drivers/dingux-sdl/configfile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ unsigned int aspect_ratio_factor_step = 10;
3535
/*
3636
*Config options and default values
3737
*/
38-
unsigned int aspect_ratio = ASPECT_RATIOS_TYPE_CROPPED;
38+
unsigned int aspect_ratio = ASPECT_RATIOS_TYPE_STRETCHED;
3939
unsigned int aspect_ratio_factor_percent = 50;
4040

4141
static const struct ConfigOption options[] = {

src/drivers/dingux-sdl/configfile.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66

77
///------ Definition of the different aspect ratios
88
#define ASPECT_RATIOS \
9+
X(ASPECT_RATIOS_TYPE_MANUAL, "ZOOMED") \
910
X(ASPECT_RATIOS_TYPE_STRETCHED, "STRETCHED") \
1011
X(ASPECT_RATIOS_TYPE_CROPPED, "CROPPED") \
12+
X(ASPECT_RATIOS_TYPE_SCALED, "SCALED") \
1113
X(NB_ASPECT_RATIOS_TYPES, "")
1214

1315
////------ Enumeration of the different aspect ratios ------

0 commit comments

Comments
 (0)