diff options
author | Strangerke | 2013-09-08 15:20:41 +0200 |
---|---|---|
committer | Strangerke | 2013-09-08 15:20:41 +0200 |
commit | b60767fce8100f04828128948f1b1e30e69f4257 (patch) | |
tree | 165fd18fb9b16fe50291196329eec67fbb65d113 | |
parent | 599d2eeb06c937a4479cc751f4f9f5e94795c43b (diff) | |
download | scummvm-rg350-b60767fce8100f04828128948f1b1e30e69f4257.tar.gz scummvm-rg350-b60767fce8100f04828128948f1b1e30e69f4257.tar.bz2 scummvm-rg350-b60767fce8100f04828128948f1b1e30e69f4257.zip |
AVALANCHE: Do not set pixels directly
-rw-r--r-- | engines/avalanche/graphics.cpp | 2 | ||||
-rw-r--r-- | engines/avalanche/gyro2.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp index 6058b006bf..8f51f749e3 100644 --- a/engines/avalanche/graphics.cpp +++ b/engines/avalanche/graphics.cpp @@ -309,7 +309,7 @@ void Graphics::refreshScreen() { } } // Now we copy the stretched picture to the screen. - g_system->copyRectToScreen(_screen.pixels, _screen.pitch, 0, 0, kScreenWidth, kScreenHeight * 2); + g_system->copyRectToScreen(_screen.getPixels(), _screen.pitch, 0, 0, kScreenWidth, kScreenHeight * 2); g_system->updateScreen(); } diff --git a/engines/avalanche/gyro2.cpp b/engines/avalanche/gyro2.cpp index 513052fd19..ab1b9d8686 100644 --- a/engines/avalanche/gyro2.cpp +++ b/engines/avalanche/gyro2.cpp @@ -499,7 +499,7 @@ void Gyro::loadMouse(byte which) { mask.free(); f.close(); - CursorMan.replaceCursor(cursor.pixels, 16, 32, kMouseHotSpots[which - 1]._horizontal, kMouseHotSpots[which - 1]._vertical * 2, 255, false); + CursorMan.replaceCursor(cursor.getPixels(), 16, 32, kMouseHotSpots[which - 1]._horizontal, kMouseHotSpots[which - 1]._vertical * 2, 255, false); cursor.free(); } |