aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/vga.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/vga.cpp')
-rw-r--r--engines/agos/vga.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp
index 323e8de96c..d00c9ceb34 100644
--- a/engines/agos/vga.cpp
+++ b/engines/agos/vga.cpp
@@ -171,7 +171,7 @@ void AGOSEngine::runVgaScript() {
return;
if (opcode >= _numVideoOpcodes || !_vga_opcode_table[opcode])
- error("Invalid VGA opcode '%d' encountered", opcode);
+ error("runVgaScript: Invalid VGA opcode '%d' encountered", opcode);
(this->*_vga_opcode_table[opcode]) ();
}
@@ -1103,7 +1103,7 @@ void AGOSEngine::vc27_resetSprite() {
VgaSleepStruct *vfs;
VgaTimerEntry *vte, *vte2;
- _lockWord |= 8;
+ _videoLockOut |= 8;
_lastVgaWaitFor = 0;
@@ -1157,7 +1157,7 @@ void AGOSEngine::vc27_resetSprite() {
}
}
- if (_lockWord & 0x20) {
+ if (_videoLockOut & 0x20) {
AnimTable *animTable = _screenAnim1;
while (animTable->srcPtr) {
animTable->srcPtr = 0;
@@ -1171,7 +1171,7 @@ void AGOSEngine::vc27_resetSprite() {
if (getGameType() == GType_FF || getGameType() == GType_PP)
setBitFlag(42, true);
- _lockWord &= ~8;
+ _videoLockOut &= ~8;
}
void AGOSEngine::vc28_playSFX() {
@@ -1361,7 +1361,7 @@ void AGOSEngine::vc37_pokePalette() {
palptr[2] = ((color & 0x00f) >> 0) * 32;
palptr[3] = 0;
- if (!(_lockWord & 0x20)) {
+ if (!(_videoLockOut & 0x20)) {
_paletteFlag = 1;
_displayScreen++;
}