diff options
author | Johannes Schickel | 2013-08-02 23:47:42 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-08-03 02:52:32 +0200 |
commit | 8f73027d8273b482386d8c114674876b11069957 (patch) | |
tree | b0467f5c4894eec0503fb3529aa8fb4411b4e5f5 /engines/made/pmvplayer.cpp | |
parent | 786ad6cea0caa076b1af56eb2bb6d85075e6bfd0 (diff) | |
download | scummvm-rg350-8f73027d8273b482386d8c114674876b11069957.tar.gz scummvm-rg350-8f73027d8273b482386d8c114674876b11069957.tar.bz2 scummvm-rg350-8f73027d8273b482386d8c114674876b11069957.zip |
MADE: Prefer getBasePtr over direct Surface::pixels access.
Diffstat (limited to 'engines/made/pmvplayer.cpp')
-rw-r--r-- | engines/made/pmvplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/pmvplayer.cpp b/engines/made/pmvplayer.cpp index cf450f7e25..9e4354d6a3 100644 --- a/engines/made/pmvplayer.cpp +++ b/engines/made/pmvplayer.cpp @@ -248,7 +248,7 @@ void PmvPlayer::handleEvents() { } void PmvPlayer::updateScreen() { - _vm->_system->copyRectToScreen(_surface->pixels, _surface->pitch, + _vm->_system->copyRectToScreen(_surface->getBasePtr(0, 0), _surface->pitch, (320 - _surface->w) / 2, (200 - _surface->h) / 2, _surface->w, _surface->h); _vm->_system->updateScreen(); } |