diff options
author | Johannes Schickel | 2012-06-16 02:36:31 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-06-16 02:39:00 +0200 |
commit | 64790aabc89ff128b7e3938d311a362619c4dd47 (patch) | |
tree | 26e35954501ca7c6ed021739deb53d5d230363ac /engines | |
parent | 084c1259fc5c185ec66001708f623d03675bf6f5 (diff) | |
download | scummvm-rg350-64790aabc89ff128b7e3938d311a362619c4dd47.tar.gz scummvm-rg350-64790aabc89ff128b7e3938d311a362619c4dd47.tar.bz2 scummvm-rg350-64790aabc89ff128b7e3938d311a362619c4dd47.zip |
SCUMM: Get rid of casts on OSystem::copyRectToScreen calls.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp index 2cf4a429db..ffff329036 100644 --- a/engines/scumm/gfx.cpp +++ b/engines/scumm/gfx.cpp @@ -755,7 +755,7 @@ void ScummEngine::drawStripToScreen(VirtScreen *vs, int x, int width, int top, i memset(blackbuf, 0, 16 * 240); // Prepare a buffer 16px wide and 240px high, to fit on a lateral strip width = 240; // Fix right strip - _system->copyRectToScreen((const byte *)blackbuf, 16, 0, 0, 16, 240); // Fix left strip + _system->copyRectToScreen(blackbuf, 16, 0, 0, 16, 240); // Fix left strip } } @@ -763,7 +763,7 @@ void ScummEngine::drawStripToScreen(VirtScreen *vs, int x, int width, int top, i } // Finally blit the whole thing to the screen - _system->copyRectToScreen((const byte *)src, pitch, x, y, width, height); + _system->copyRectToScreen(src, pitch, x, y, width, height); } // CGA |