mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 04:28:37 +00:00
Fix subtitle regressions in DOS Floppy demo of Simon the Sorcerer 1.
svn-id: r31015
This commit is contained in:
parent
5878f701c1
commit
c8077925cc
@ -100,7 +100,7 @@ void AGOSEngine_Feeble::animateSpritesByY() {
|
||||
|
||||
vsp = &_vgaSprites[slot];
|
||||
|
||||
vsp->windowNum &= 0x7FFF;
|
||||
vsp->windowNum &= ~0x8000;
|
||||
|
||||
vpe = &_vgaBufferPointers[vsp->zoneNum];
|
||||
_curVgaFile1 = vpe->vgaFile1;
|
||||
@ -134,7 +134,7 @@ void AGOSEngine_Feeble::animateSprites() {
|
||||
|
||||
vsp = _vgaSprites;
|
||||
while (vsp->id) {
|
||||
vsp->windowNum &= 0x7FFF;
|
||||
vsp->windowNum &= ~0x8000;
|
||||
|
||||
vpe = &_vgaBufferPointers[vsp->zoneNum];
|
||||
_curVgaFile1 = vpe->vgaFile1;
|
||||
@ -211,7 +211,7 @@ void AGOSEngine::animateSprites() {
|
||||
continue;
|
||||
}
|
||||
|
||||
vsp->windowNum &= 0x7FFF;
|
||||
vsp->windowNum &= ~0x8000;
|
||||
|
||||
vpe = &_vgaBufferPointers[vsp->zoneNum];
|
||||
_curVgaFile1 = vpe->vgaFile1;
|
||||
@ -446,7 +446,7 @@ void AGOSEngine::restoreBackGround() {
|
||||
continue;
|
||||
}
|
||||
|
||||
_windowNum = animTable->windowNum & 0x7FFF;
|
||||
_windowNum = animTable->windowNum & ~0x8000;
|
||||
|
||||
VC10_state state;
|
||||
state.srcPtr = animTable->srcPtr;
|
||||
@ -840,7 +840,7 @@ void AGOSEngine::slowFadeIn() {
|
||||
uint8 *src, *dst;
|
||||
int c, p;
|
||||
|
||||
_fastFadeInFlag &= 0x7fff;
|
||||
_fastFadeInFlag &= ~0x8000;
|
||||
_paletteFlag = false;
|
||||
|
||||
memset(_videoBuf1, 0, 1024);
|
||||
|
@ -365,6 +365,8 @@ void AGOSEngine::printScreenText(uint vgaSpriteId, uint color, const char *strin
|
||||
}
|
||||
|
||||
uint16 windowNum = (!getBitFlag(133)) ? 3 : 4;
|
||||
if (getGameType() == GType_SIMON1 && (getFeatures() & GF_DEMO))
|
||||
windowNum = 4;
|
||||
|
||||
x /= 8;
|
||||
if (y < 2)
|
||||
|
Loading…
Reference in New Issue
Block a user