From 9217472f0e4e801659c0a448dcbf57c28fd36ee2 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 2 Apr 2006 14:16:31 +0000 Subject: 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 --- gui/newgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/newgui.cpp') diff --git a/gui/newgui.cpp b/gui/newgui.cpp index 02e0580664..881b12766e 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -87,7 +87,7 @@ GuiObject::GuiObject(Common::String name) : _firstWidget(0) { NewGui::NewGui() : _needRedraw(false), _stateIsSaved(false), _cursorAnimateCounter(0), _cursorAnimateTimer(0) { - _system = &OSystem::instance(); + _system = g_system; // Clear the cursor memset(_cursor, 0xFF, sizeof(_cursor)); -- cgit v1.2.3