diff --git a/project/jni/application/xserver/main.c b/project/jni/application/xserver/main.c index e6cd2c478..e639761a5 100644 --- a/project/jni/application/xserver/main.c +++ b/project/jni/application/xserver/main.c @@ -126,7 +126,8 @@ int main( int argc, char* argv[] ) if( !screenResOverride ) { XSDL_showConfigMenu(&resolutionW, &displayW, &resolutionH, &displayH, &builtinKeyboard, &screenButtons, port); - sprintf( screenres, "%d/%dx%d/%dx%d", resolutionW, displayW, resolutionH, displayH, SDL_GetVideoInfo()->vfmt->BitsPerPixel ); + sprintf( screenres, "%d/%dx%d/%dx%d", resolutionW, displayW, resolutionH, displayH, + SDL_GetVideoInfo()->vfmt->BitsPerPixel == 24 ? 32 : SDL_GetVideoInfo()->vfmt->BitsPerPixel ); } XSDL_generateBackground( port, printHelp, 600 * resolutionW / resolutionH, 600 ); diff --git a/project/jni/application/xserver/xserver b/project/jni/application/xserver/xserver index 4878f5a50..62db8acad 160000 --- a/project/jni/application/xserver/xserver +++ b/project/jni/application/xserver/xserver @@ -1 +1 @@ -Subproject commit 4878f5a50ce1f922e7becc3f86761e8131839c48 +Subproject commit 62db8acad2b14d7e135cabe727c59ee8744a145d