aboutsummaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
authorMatthew Hoops2012-08-16 13:30:32 -0400
committerMatthew Hoops2012-08-16 13:30:32 -0400
commitfb35c7f46f986a22235638e2946ba8492e735109 (patch)
treedf4a92a5f39b65ff4c5d3c4c8f8260429d1659a3 /video
parent9e7f0e4753636ace510d626be4b0ee22ab682269 (diff)
downloadscummvm-rg350-fb35c7f46f986a22235638e2946ba8492e735109.tar.gz
scummvm-rg350-fb35c7f46f986a22235638e2946ba8492e735109.tar.bz2
scummvm-rg350-fb35c7f46f986a22235638e2946ba8492e735109.zip
VIDEO: Remove setSystemPalette()
Diffstat (limited to 'video')
-rw-r--r--video/video_decoder.cpp8
-rw-r--r--video/video_decoder.h7
2 files changed, 0 insertions, 15 deletions
diff --git a/video/video_decoder.cpp b/video/video_decoder.cpp
index a7d3789b65..1ead6af54e 100644
--- a/video/video_decoder.cpp
+++ b/video/video_decoder.cpp
@@ -700,12 +700,4 @@ void AdvancedVideoDecoder::startAudioLimit(const Audio::Timestamp &limit) {
((AudioTrack *)*it)->start(limit);
}
-//////////////////////////////////////////////
-///////////////// DEPRECATED /////////////////
-//////////////////////////////////////////////
-
-void VideoDecoder::setSystemPalette() {
- g_system->getPaletteManager()->setPalette(getPalette(), 0, 256);
-}
-
} // End of namespace Video
diff --git a/video/video_decoder.h b/video/video_decoder.h
index 0135425bac..72be634f17 100644
--- a/video/video_decoder.h
+++ b/video/video_decoder.h
@@ -114,13 +114,6 @@ public:
virtual bool hasDirtyPalette() const { return false; }
/**
- * Set the system palette to the palette returned by getPalette.
- * @see getPalette
- * @note This function is now deprecated. There is no replacement.
- */
- void setSystemPalette();
-
- /**
* Returns the current frame number of the video.
* @return the last frame decoded by the video
*/