aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRobert Göffringmann2006-06-08 08:18:55 +0000
committerRobert Göffringmann2006-06-08 08:18:55 +0000
commitcd24b1d91c23cdff3fc9dd15f9feb4d30c4a336c (patch)
treeba366f485ca4ca5ce01aca071d68837dec553027 /common
parent7e65543482be37f16f22131a508e79de92be07ae (diff)
downloadscummvm-rg350-cd24b1d91c23cdff3fc9dd15f9feb4d30c4a336c.tar.gz
scummvm-rg350-cd24b1d91c23cdff3fc9dd15f9feb4d30c4a336c.tar.bz2
scummvm-rg350-cd24b1d91c23cdff3fc9dd15f9feb4d30c4a336c.zip
fixed ps2 types.
svn-id: r22985
Diffstat (limited to 'common')
-rw-r--r--common/scummsys.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/common/scummsys.h b/common/scummsys.h
index ca97750e57..4571e1bdfb 100644
--- a/common/scummsys.h
+++ b/common/scummsys.h
@@ -256,8 +256,6 @@
#define START_PACK_STRUCTS pack(push, 1)
#define END_PACK_STRUCTS pack(pop)
- #include "backends/ps2/fileio.h"
-
#define fopen(a, b) ps2_fopen(a, b)
#define fclose(a) ps2_fclose(a)
#define fflush(a) ps2_fflush(a)
@@ -414,5 +412,16 @@
typedef int16 OverlayColor;
#endif
+#ifdef __PLAYSTATION2__
+ // for libmpeg2...
+ typedef uint8 uint8_t;
+ typedef uint32 uint32_t;
+
+ // for those replaced fopen/fread/etc functions
+ typedef unsigned long uint64;
+ typedef signed long int64;
+ #include "backends/ps2/fileio.h"
+#endif
+
#endif