[Scummvm-cvs-logs] SF.net SVN: scummvm: [22985] scummvm/trunk/common/scummsys.h
lavosspawn at users.sourceforge.net
lavosspawn at users.sourceforge.net
Thu Jun 8 10:19:01 CEST 2006
Revision: 22985
Author: lavosspawn
Date: 2006-06-08 01:18:55 -0700 (Thu, 08 Jun 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22985&view=rev
Log Message:
-----------
fixed ps2 types.
Modified Paths:
--------------
scummvm/trunk/common/scummsys.h
Modified: scummvm/trunk/common/scummsys.h
===================================================================
--- scummvm/trunk/common/scummsys.h 2006-06-08 06:53:00 UTC (rev 22984)
+++ scummvm/trunk/common/scummsys.h 2006-06-08 08:18:55 UTC (rev 22985)
@@ -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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list