diff options
| author | Ludvig Strigeus | 2001-10-16 20:31:27 +0000 |
|---|---|---|
| committer | Ludvig Strigeus | 2001-10-16 20:31:27 +0000 |
| commit | a732f32eb09a880d658cea55f1d8120a8c4ea2d6 (patch) | |
| tree | f8735651d400e7094cfa15e63032b08da61a2eab /sdl.cpp | |
| parent | eebe5f2f73ddede3051c06f5f47294559784363a (diff) | |
| download | scummvm-rg350-a732f32eb09a880d658cea55f1d8120a8c4ea2d6.tar.gz scummvm-rg350-a732f32eb09a880d658cea55f1d8120a8c4ea2d6.tar.bz2 scummvm-rg350-a732f32eb09a880d658cea55f1d8120a8c4ea2d6.zip | |
misc fixes
svn-id: r3435
Diffstat (limited to 'sdl.cpp')
| -rw-r--r-- | sdl.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -17,6 +17,9 @@ * * Change Log: * $Log$ + * Revision 1.9 2001/10/16 20:31:27 strigeus + * misc fixes + * * Revision 1.8 2001/10/16 10:01:48 strigeus * preliminary DOTT support * @@ -220,10 +223,9 @@ void updateScreen(Scumm *s) { } if(s->_palDirtyMax != -1) { + /* this updates the screen automatically */ updatePalette(s); - } - - if (fullRedraw) { + } else if (fullRedraw) { SDL_UpdateRect(screen, 0,0,0,0); #if defined(SHOW_AREA) debug(2,"update area 100 %%"); @@ -346,7 +348,13 @@ void initGraphics(Scumm *s) { #undef main int main(int argc, char* argv[]) { +#if defined(DOTT) + scumm._exe_name = "tentacle"; +#elif defined(INDY4) + scumm._exe_name = "atlantis"; +#else scumm._exe_name = "monkey2"; +#endif scumm._videoMode = 0x13; scumm.scummMain(argc, argv); return 0; |
