mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 02:10:28 +00:00
NANCY: Do not clear palette on viewport scroll
Fixed a bug where the background would go black when scrolling up or down.
This commit is contained in:
parent
4069c5e381
commit
85dcfb64d8
@ -197,6 +197,7 @@ void Viewport::loadVideo(const Common::String &filename, uint frameNr, uint vert
|
||||
setVerticalScroll(verticalScroll);
|
||||
|
||||
if (palette.size()) {
|
||||
GraphicsManager::loadSurfacePalette(_fullFrame, palette);
|
||||
setPalette(palette);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user