diff options
-rw-r--r-- | engines/draci/screen.cpp | 2 | ||||
-rw-r--r-- | engines/draci/screen.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/draci/screen.cpp b/engines/draci/screen.cpp index b1c12ccbae..ff6fc5856f 100644 --- a/engines/draci/screen.cpp +++ b/engines/draci/screen.cpp @@ -35,7 +35,7 @@ Screen::Screen(DraciEngine *vm) : _vm(vm) { _surface->create(_vm->_screenWidth, _vm->_screenHeight, 1); this->clearScreen(); _palette = new byte[4 * 256]; - setPaletteEmpty(256); + setPaletteEmpty(); } Screen::~Screen() { diff --git a/engines/draci/screen.h b/engines/draci/screen.h index 5983e73c81..8033fa7f53 100644 --- a/engines/draci/screen.h +++ b/engines/draci/screen.h @@ -35,12 +35,12 @@ namespace Draci { class DraciEngine; class Screen { - + public: Screen(DraciEngine *vm); ~Screen(); - void setPaletteEmpty(unsigned int numEntries); + void setPaletteEmpty(unsigned int numEntries = 256); void setPalette(byte *data, uint16 start, uint16 num); byte *getPalette() const; void copyToScreen() const; |