Set graphics cursor before using it, fixes segfault when launching ihnm from the launcher. Fixes bug #966614

svn-id: r13934
This commit is contained in:
Jonathan Gray 2004-06-05 11:12:51 +00:00
parent dac16f4f43
commit fc2044f743
2 changed files with 9 additions and 8 deletions

View File

@ -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;

View File

@ -20,15 +20,15 @@
* $Header$
*
*/
#include "saga.h"
#include "reinherit.h"
#include "saga/saga.h"
#include "saga/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/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 {