aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorMax Horn2003-09-28 21:08:48 +0000
committerMax Horn2003-09-28 21:08:48 +0000
commit17bf7b95aa8fb28dcacbe01a5ff547032ffbea1d (patch)
treed45dcf601b6e3ef0983210144d869821a435c9c3 /common/system.h
parent84ed3e272d7a470fac35e446ad9adbbd2c374f82 (diff)
downloadscummvm-rg350-17bf7b95aa8fb28dcacbe01a5ff547032ffbea1d.tar.gz
scummvm-rg350-17bf7b95aa8fb28dcacbe01a5ff547032ffbea1d.tar.bz2
scummvm-rg350-17bf7b95aa8fb28dcacbe01a5ff547032ffbea1d.zip
removed duplicate g_timer object (one was global, one was static to timer.cpp); set g_system earlier (might prevent a few race conditions)
svn-id: r10471
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h
index 4da287e980..164316f71d 100644
--- a/common/system.h
+++ b/common/system.h
@@ -349,4 +349,7 @@ public:
//@}
};
+/** The global OSystem instance. Inited in main(). */
+extern OSystem *g_system;
+
#endif