aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/dispman.cpp
diff options
context:
space:
mode:
authorStrangerke2015-12-23 18:56:35 +0100
committerWillem Jan Palenstijn2015-12-23 21:43:16 +0100
commit34b59256fcddc116eb4ffd6069e1d034462168fc (patch)
tree3a0d0aefa2946a6f61143578a922b87d739b90d6 /engines/lab/dispman.cpp
parente8edff85f395d8c812f154c230300fd70b127171 (diff)
downloadscummvm-rg350-34b59256fcddc116eb4ffd6069e1d034462168fc.tar.gz
scummvm-rg350-34b59256fcddc116eb4ffd6069e1d034462168fc.tar.bz2
scummvm-rg350-34b59256fcddc116eb4ffd6069e1d034462168fc.zip
LAB: Replace g_system by _system
Diffstat (limited to 'engines/lab/dispman.cpp')
-rw-r--r--engines/lab/dispman.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/lab/dispman.cpp b/engines/lab/dispman.cpp
index f6705ff0a3..2e133500e8 100644
--- a/engines/lab/dispman.cpp
+++ b/engines/lab/dispman.cpp
@@ -447,8 +447,8 @@ void DisplayMan::drawHLine(uint16 x1, uint16 y, uint16 x2) {
}
void DisplayMan::screenUpdate() {
- g_system->copyRectToScreen(_displayBuffer, _screenWidth, 0, 0, _screenWidth, _screenHeight);
- g_system->updateScreen();
+ _vm->_system->copyRectToScreen(_displayBuffer, _screenWidth, 0, 0, _screenWidth, _screenHeight);
+ _vm->_system->updateScreen();
_vm->_event->processInput();
}
@@ -491,7 +491,7 @@ void DisplayMan::writeColorRegs(byte *buf, uint16 first, uint16 numReg) {
for (int i = 0; i < 256 * 3; i++)
tmp[i] = buf[i] * 4;
- g_system->getPaletteManager()->setPalette(tmp, first, numReg);
+ _vm->_system->getPaletteManager()->setPalette(tmp, first, numReg);
memcpy(&(_curvgapal[first * 3]), buf, numReg * 3);
}
@@ -905,7 +905,7 @@ void DisplayMan::blackScreen() {
memset(pal, 0, 248 * 3);
writeColorRegs(pal, 8, 248);
- g_system->delayMillis(32);
+ _vm->_system->delayMillis(32);
}
void DisplayMan::whiteScreen() {
@@ -919,7 +919,7 @@ void DisplayMan::blackAllScreen() {
memset(pal, 0, 256 * 3);
writeColorRegs(pal, 0, 256);
- g_system->delayMillis(32);
+ _vm->_system->delayMillis(32);
}
void DisplayMan::scrollDisplayX(int16 dx, uint16 x1, uint16 y1, uint16 x2, uint16 y2, byte *buffer) {