This currently takes care of keeping the display on, and setting up fast FPU
moed.
ifeq ($(PLATFORM),maemo)
BALL_OBJS += share/tilt_maemo.o
BALL_OBJS += share/maemo.o
+PUTT_OBJS += share/maemo.o
else
BALL_OBJS += share/tilt_null.o
endif
#include "game.h"
#include "gui.h"
#include "fs.h"
+#ifdef __MAEMO__
+#include "maemo.h"
+#endif
#include "st_conf.h"
#include "st_all.h"
config_paths(argc > 1 ? argv[1] : NULL);
fs_mkdir("Screenshots");
- if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_JOYSTICK) == 0)
+ if (SDL_Init(SDL_INIT_VIDEO |
+ SDL_INIT_AUDIO |
+#ifdef __MAEMO__
+ SDL_INIT_TIMER |
+#endif
+ SDL_INIT_JOYSTICK) == 0)
{
config_init();
config_load();
audio_init();
+#ifdef __MAEMO__
+ maemo_init("neverputt");
+#endif
+
/* Initialize the video. */
if (video_init(TITLE, ICON))