aboutsummaryrefslogtreecommitdiff
path: root/common/system.cpp
diff options
context:
space:
mode:
authorMax Horn2005-01-09 01:41:43 +0000
committerMax Horn2005-01-09 01:41:43 +0000
commitbc44b5ec15e7d7f933e455e46c2f603e2800cd82 (patch)
tree7bad6a6b01f921662e3c9812e4828909719bea8a /common/system.cpp
parent9c7a604c8bcf6903e83787dc3e8513515489d892 (diff)
downloadscummvm-rg350-bc44b5ec15e7d7f933e455e46c2f603e2800cd82.tar.gz
scummvm-rg350-bc44b5ec15e7d7f933e455e46c2f603e2800cd82.tar.bz2
scummvm-rg350-bc44b5ec15e7d7f933e455e46c2f603e2800cd82.zip
Added new interface SeekableReadStream
svn-id: r16493
Diffstat (limited to 'common/system.cpp')
-rw-r--r--common/system.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/system.cpp b/common/system.cpp
index 9487052de1..4c25d132ec 100644
--- a/common/system.cpp
+++ b/common/system.cpp
@@ -35,6 +35,10 @@ DECLARE_SINGLETON(OSystem);
template <>
OSystem *Common::Singleton<OSystem>::makeInstance() {
+ return OSystem::createSystem();
+}
+
+OSystem *OSystem::createSystem() {
// Attention: Do not call parseGraphicsMode() here, nor any other function
// which needs to access the OSystem instance, else you get stuck in an
// endless loop.