1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-29 17:17:31 +02:00

Use 16 bpp by default on the Dingoo.

Other platforms keep using 32 bpp.
This commit is contained in:
Maarten ter Huurne 2011-09-18 18:42:53 +02:00
parent d354eb85a4
commit 41650aaad7

View File

@ -702,7 +702,13 @@ void GMenu2X::readConfig(string conffile) {
evalIntConf( &confInt["globalVolume"], 67, 0,100 ); evalIntConf( &confInt["globalVolume"], 67, 0,100 );
evalIntConf( &confInt["backlightTimeout"], 15, 0,120 ); evalIntConf( &confInt["backlightTimeout"], 15, 0,120 );
evalIntConf( &confInt["backlight"], 100, 5,100 ); evalIntConf( &confInt["backlight"], 100, 5,100 );
evalIntConf( &confInt["videoBpp"], 32,32,32 ); // 8,16 evalIntConf( &confInt["videoBpp"],
#ifdef PLATFORM_DINGUX
16,
#else
32,
#endif
16, 32 );
if (confStr["tvoutEncoding"] != "PAL") confStr["tvoutEncoding"] = "NTSC"; if (confStr["tvoutEncoding"] != "PAL") confStr["tvoutEncoding"] = "NTSC";
resX = constrain( confInt["resolutionX"], 320,1920 ); resX = constrain( confInt["resolutionX"], 320,1920 );