diff options
author | Strangerke | 2016-11-09 22:46:53 -0800 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-25 22:42:05 +0100 |
commit | 91de8658f51ba83db95ab8379c07076204f89485 (patch) | |
tree | c05b2c792423b34d9ca2b2e87b3576b745ee40bf /engines | |
parent | 38b676bc0070333d15c420f21a139aae0a0a8da2 (diff) | |
download | scummvm-rg350-91de8658f51ba83db95ab8379c07076204f89485.tar.gz scummvm-rg350-91de8658f51ba83db95ab8379c07076204f89485.tar.bz2 scummvm-rg350-91de8658f51ba83db95ab8379c07076204f89485.zip |
CRYO: Remove unused function
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cryo/cryolib.cpp | 7 | ||||
-rw-r--r-- | engines/cryo/cryolib.h | 1 |
2 files changed, 1 insertions, 7 deletions
diff --git a/engines/cryo/cryolib.cpp b/engines/cryo/cryolib.cpp index 15433eef19..2e3b822815 100644 --- a/engines/cryo/cryolib.cpp +++ b/engines/cryo/cryolib.cpp @@ -186,10 +186,6 @@ void CLPalette_Send2Screen(struct color_t *palette, uint16 first, uint16 count) CLPalette_SetLastPalette(palette, first, count); } -void CLPalette_BeBlack() { - CLPalette_Send2Screen(black_palette, 0, 256); -} - void CLPalette_BeSystem() { } @@ -246,9 +242,8 @@ void CLBlitter_CopyView2ScreenCUSTOM(View *view) { CLBlitter_CopyView2ViewSimpleSize(view->_bufferPtr + view->_normal._srcTop * srcpitch + view->_normal._srcLeft, view->_normal._width, srcpitch, view->_normal._height, dest->_bufferPtr + (dest->_normal._dstTop + view->_normal._dstTop) * dstpitch + dest->_normal._dstLeft + view->_normal._dstLeft, dest->_normal._width, dstpitch, dest->_normal._height); - } else { + } else assert(0); - } } void CLBlitter_CopyView2Screen(View *view) { if (useNewPalette) { diff --git a/engines/cryo/cryolib.h b/engines/cryo/cryolib.h index 2f76ce947b..61afda0dca 100644 --- a/engines/cryo/cryolib.h +++ b/engines/cryo/cryolib.h @@ -212,7 +212,6 @@ void CLPalette_Macintize(int16 macintize); void CLPalette_SetInterval(uint16 first, uint16 last); void CLPalette_DeactivateInterval(); void CLPalette_Send2Screen(struct color_t *palette, uint16 first, uint16 count); -void CLPalette_BeBlack(); void CLPalette_BeSystem(); void CLFile_MakeStruct(int a3, int a4, const char *name, filespec_t *fs); |