1
0
Fork 0

Disable 8bpp love

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3492
This commit is contained in:
Sjoerd van der Berg 2009-11-06 13:43:48 +00:00
parent f7dd522112
commit 6352cfa88b

View file

@ -288,6 +288,7 @@ Bitu GFX_GetBestMode(Bitu flags) {
switch (sdl.desktop.want_type) {
case SCREEN_SURFACE:
check_surface:
flags &= ~GFX_LOVE_8; //Disable love for 8bpp modes
/* Check if we can satisfy the depth it loves */
if (flags & GFX_LOVE_8) testbpp=8;
else if (flags & GFX_LOVE_15) testbpp=15;