diff options
Diffstat (limited to 'engines/kyra/resource.cpp')
-rw-r--r-- | engines/kyra/resource.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp index d69b1c0dad..b896220d17 100644 --- a/engines/kyra/resource.cpp +++ b/engines/kyra/resource.cpp @@ -523,17 +523,4 @@ uint32 INSFile::getFileSize(uint hash) { return 0; } -//////////////////////////////////////////// -void KyraEngine::loadPalette(const char *filename, uint8 *palData) { - debugC(9, kDebugLevelMain, "KyraEngine::loadPalette('%s' %p)", filename, (void *)palData); - uint32 fileSize = 0; - uint8 *srcData = _res->fileData(filename, &fileSize); - - if (palData && fileSize) { - debugC(9, kDebugLevelMain,"Loading a palette of size %i from '%s'", fileSize, filename); - memcpy(palData, srcData, fileSize); - } - delete [] srcData; -} - } // end of namespace Kyra |