aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2x
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/gp2x')
-rw-r--r--backends/platform/gp2x/gp2x-common.h1
-rw-r--r--backends/platform/gp2x/gp2x.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/gp2x/gp2x-common.h b/backends/platform/gp2x/gp2x-common.h
index 2dbc868ab2..1aa5107fcc 100644
--- a/backends/platform/gp2x/gp2x-common.h
+++ b/backends/platform/gp2x/gp2x-common.h
@@ -32,7 +32,6 @@
#include "common/scummsys.h"
#include "common/system.h"
#include "graphics/scaler.h"
-#include "backends/intern.h"
#include <SDL.h>
#include <SDL_gp2x.h>
diff --git a/backends/platform/gp2x/gp2x.cpp b/backends/platform/gp2x/gp2x.cpp
index 724731aafb..7b99d9cfeb 100644
--- a/backends/platform/gp2x/gp2x.cpp
+++ b/backends/platform/gp2x/gp2x.cpp
@@ -54,6 +54,8 @@
#include "config.h"
#endif
+#define SAMPLES_PER_SEC 11025
+
static Uint32 timer_handler(Uint32 interval, void *param) {
((DefaultTimerManager *)param)->handler();
return interval;