mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
TSAGE: Bugfix for loading scenes without a palette
This commit is contained in:
parent
d50482d92b
commit
2fd6808703
@ -1160,7 +1160,7 @@ ScenePalette::ScenePalette(int paletteNum) {
|
||||
}
|
||||
|
||||
bool ScenePalette::loadPalette(int paletteNum) {
|
||||
byte *palData = _vm->_dataManager->getResource(RES_PALETTE, paletteNum, 0);
|
||||
byte *palData = _vm->_dataManager->getResource(RES_PALETTE, paletteNum, 0, true);
|
||||
if (!palData)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user