aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorJonathan Gray2004-06-05 11:12:51 +0000
committerJonathan Gray2004-06-05 11:12:51 +0000
commitfc2044f743400ceb3a2b913d29d7c2cf11b990e6 (patch)
treed5824e11746128653d91048deb9755b1421433ed /saga
parentdac16f4f43b32adfdc7f08acb3605a5b0ad6c5f8 (diff)
downloadscummvm-rg350-fc2044f743400ceb3a2b913d29d7c2cf11b990e6.tar.gz
scummvm-rg350-fc2044f743400ceb3a2b913d29d7c2cf11b990e6.tar.bz2
scummvm-rg350-fc2044f743400ceb3a2b913d29d7c2cf11b990e6.zip
Set graphics cursor before using it, fixes segfault when launching ihnm from the launcher. Fixes bug #966614
svn-id: r13934
Diffstat (limited to 'saga')
-rw-r--r--saga/gfx.cpp1
-rw-r--r--saga/input.cpp18
2 files changed, 10 insertions, 9 deletions
diff --git a/saga/gfx.cpp b/saga/gfx.cpp
index c98ebc5da5..454e368b5e 100644
--- a/saga/gfx.cpp
+++ b/saga/gfx.cpp
@@ -67,6 +67,7 @@ int GFX_Init(OSystem *system, int width, int height) {
GfxModule.black_index = -1;
// For now, always show the mouse cursor.
+ GFX_SetCursor(1);
SYSINPUT_ShowMouse();
return R_SUCCESS;
diff --git a/saga/input.cpp b/saga/input.cpp
index b6f4f97f46..eac43741f3 100644
--- a/saga/input.cpp
+++ b/saga/input.cpp
@@ -20,15 +20,15 @@
* $Header$
*
*/
-#include "saga.h"
-#include "reinherit.h"
-
-#include "actor_mod.h"
-#include "console_mod.h"
-#include "interface_mod.h"
-#include "render_mod.h"
-#include "scene_mod.h"
-#include "script_mod.h"
+#include "saga/saga.h"
+#include "saga/reinherit.h"
+
+#include "saga/actor_mod.h"
+#include "saga/console_mod.h"
+#include "saga/interface_mod.h"
+#include "saga/render_mod.h"
+#include "saga/scene_mod.h"
+#include "saga/script_mod.h"
namespace Saga {