aboutsummaryrefslogtreecommitdiff
path: root/base/game.cpp
diff options
context:
space:
mode:
authorMax Horn2008-01-10 11:29:29 +0000
committerMax Horn2008-01-10 11:29:29 +0000
commit7ed64488a8bedbbf819f0a4ecc26d6e1ac4d6159 (patch)
treedba7cfa9b3a3cbf4ff71eef868b81510b95ea65b /base/game.cpp
parent8b9c7b2137006ab0dd1b1b22f5e52703803e7537 (diff)
downloadscummvm-rg350-7ed64488a8bedbbf819f0a4ecc26d6e1ac4d6159.tar.gz
scummvm-rg350-7ed64488a8bedbbf819f0a4ecc26d6e1ac4d6159.tar.bz2
scummvm-rg350-7ed64488a8bedbbf819f0a4ecc26d6e1ac4d6159.zip
Removed obsolete FIXME
svn-id: r30372
Diffstat (limited to 'base/game.cpp')
-rw-r--r--base/game.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/base/game.cpp b/base/game.cpp
index 9aaaf3a6af..a79cfddec9 100644
--- a/base/game.cpp
+++ b/base/game.cpp
@@ -25,6 +25,8 @@
#include "base/game.h"
#include "base/plugins.h"
+#include "graphics/surface.h"
+
const PlainGameDescriptor *findPlainGameDescriptor(const char *gameid, const PlainGameDescriptor *list) {
const PlainGameDescriptor *g = list;
@@ -66,6 +68,15 @@ void GameDescriptor::updateDesc(const char *extra) {
}
}
+void SaveStateDescriptor::setThumbnail(Graphics::Surface *t) {
+ if (_thumbnail && _thumbnail != t) {
+ _thumbnail->free();
+ delete _thumbnail;
+ }
+ _thumbnail = t;
+}
+
+
namespace Base {
// TODO: Find a better name & place for this function.