mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 21:54:15 +00:00
MADS: Fix restoring palette after showing picture dialog
This commit is contained in:
parent
434f335611
commit
3f3040063a
@ -368,6 +368,7 @@ PictureDialog::~PictureDialog() {
|
||||
|
||||
// Restore palette information
|
||||
Common::copy(&_palette[0], &_palette[PALETTE_SIZE], &palette._mainPalette[0]);
|
||||
_vm->_palette->setFullPalette(palette._mainPalette);
|
||||
Common::copy(&_palFlags[0], &_palFlags[PALETTE_COUNT], &palette._palFlags[0]);
|
||||
palette._rgbList.copy(_rgbList);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user