Skip to content

Commit f50dee3

Browse files
bohu-googleGerrit Code Review
authored and
Gerrit Code Review
committed
Merge "use hw.lcd.depth in config.ini as default bpp" into emu-master-dev
2 parents 7c60aa7 + c0e8241 commit f50dee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/main-common-ui.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ parse_skin_files(const char* skinDirPath,
453453
if(x && isdigit(x[1])) {
454454
int width = atoi(skinName);
455455
int height = atoi(x+1);
456-
int bpp = 16;
456+
int bpp = hwConfig->hw_lcd_depth; // respect the depth setting in the config.ini
457457
char* y = strchr(x+1, 'x');
458458
if (y && isdigit(y[1])) {
459459
bpp = atoi(y+1);

0 commit comments

Comments
 (0)