aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2x
diff options
context:
space:
mode:
authorMax Horn2008-01-22 14:16:02 +0000
committerMax Horn2008-01-22 14:16:02 +0000
commitc4c481fecf8050aba4a55dd31afac2cbc6fe9236 (patch)
tree1682aea82829146fad1e2ddaf8097b514a8f0ebf /backends/platform/gp2x
parent00796bb5988184eb76cfa661e0de94aa998637a3 (diff)
downloadscummvm-rg350-c4c481fecf8050aba4a55dd31afac2cbc6fe9236.tar.gz
scummvm-rg350-c4c481fecf8050aba4a55dd31afac2cbc6fe9236.tar.bz2
scummvm-rg350-c4c481fecf8050aba4a55dd31afac2cbc6fe9236.zip
Removed backends/intern.h
svn-id: r30611
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;