Package: lmarbles Version: 1.0.6-4 Severity: normal Tags: patch I made this patch years ago to get marbles to work on an old laptop. I guess it should get into the upstream source...
I have tested it myself. You can get an 8bit colour display by running startx /usr/bin/fluxbox -- :1 -depth 8 (If you use KDE, you probably don't want to start another whole KDE session...) --- src/sdl.c~ 2002-08-07 23:37:50.000000000 -0300 +++ src/sdl.c 2002-09-07 00:24:40.000000000 -0300 @@ -400,6 +400,11 @@ depth = 16; } + if( depth == 8 ){ + fprintf( stderr, "Asking SDL to emulate a 16bit display\n" ); + depth=16; + } + // set video mode if ((sdl.scr = SDL_SetVideoMode(w, h, depth, f)) == 0) { fprintf(stderr, "ERR: sdl_setvideomode: %s", SDL_GetError()); Happy hacking, Peter Cordes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]