mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 10:17:22 +00:00
VOYEUR: Fix backgrounds not showing for static rooms
This commit is contained in:
parent
7b03f9e877
commit
43440193f0
@ -1186,6 +1186,7 @@ void ThreadResource::doRoom() {
|
||||
}
|
||||
|
||||
vm._eventsManager->_intPtr._hasPalette = true;
|
||||
vm._screen->_vPort->_flags |= DISPFLAG_8;
|
||||
vm._screen->flipPage();
|
||||
vm._eventsManager->sWaitFlip();
|
||||
} while (!vm.shouldQuit() && !vm._eventsManager->_mouseClicked);
|
||||
|
@ -910,10 +910,13 @@ void Screen::flipPage() {
|
||||
bool flipFlag = false;
|
||||
|
||||
for (uint idx = 0; idx < viewPorts.size(); ++idx) {
|
||||
if ((viewPorts[idx]->_flags & (DISPFLAG_20 | DISPFLAG_8 | DISPFLAG_1)) == (DISPFLAG_20 | DISPFLAG_8 | DISPFLAG_1)) {
|
||||
if (_planeSelect == idx)
|
||||
sDisplayPic(viewPorts[idx]->_currentPic);
|
||||
flipFlag = true;
|
||||
if (viewPorts[idx]->_flags & DISPFLAG_20) {
|
||||
flipFlag = false;
|
||||
if ((viewPorts[idx]->_flags & DISPFLAG_8) && (viewPorts[idx]->_flags & DISPFLAG_1)) {
|
||||
if (_planeSelect == idx)
|
||||
sDisplayPic(viewPorts[idx]->_currentPic);
|
||||
flipFlag = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (flipFlag) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user