diff options
Diffstat (limited to 'engines/cryo')
-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); |