diff options
author | Max Horn | 2006-04-02 14:16:31 +0000 |
---|---|---|
committer | Max Horn | 2006-04-02 14:16:31 +0000 |
commit | 9217472f0e4e801659c0a448dcbf57c28fd36ee2 (patch) | |
tree | b880dfbd4a18f93f78931749004c3a4e128f2f59 /backends/null/null.cpp | |
parent | 72f4a1c76cb8aedf6f953e57090134320d7291b8 (diff) | |
download | scummvm-rg350-9217472f0e4e801659c0a448dcbf57c28fd36ee2.tar.gz scummvm-rg350-9217472f0e4e801659c0a448dcbf57c28fd36ee2.tar.bz2 scummvm-rg350-9217472f0e4e801659c0a448dcbf57c28fd36ee2.zip |
With this change, backends are now responsible for instantiating their OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently)
svn-id: r21557
Diffstat (limited to 'backends/null/null.cpp')
-rw-r--r-- | backends/null/null.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/null/null.cpp b/backends/null/null.cpp index d60206f4f4..03939896b1 100644 --- a/backends/null/null.cpp +++ b/backends/null/null.cpp @@ -108,6 +108,8 @@ static const OSystem::GraphicsMode s_supportedGraphicsModes[] = { int main(int argc, char *argv[]) { // Invoke the actual ScummVM main entry point: + g_system = OSystem_NULL_create(); + assert(g_system); return scummvm_main(argc, argv); } |