changeset 4004:ce8046809062 SDL-1.2

Minor updates to the Symbian/S60 port, plus project files that weren't previously imported. Fixes Bugzilla #433.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 05 Jul 2007 04:51:09 +0000
parents ea059917233c
children fb74445b4d19
files README.Symbian include/SDL_config_symbian.h src/video/symbian/EKA2/dsa.cpp symbian.zip
diffstat 4 files changed, 9 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/README.Symbian	Thu Jul 05 02:53:40 2007 +0000
+++ b/README.Symbian	Thu Jul 05 04:51:09 2007 +0000
@@ -14,19 +14,10 @@
 
 That produces WINSCW and ARMV5 versions of sdl.dll runtime library 
 and sdl.lib for development. 
-
-Eaudiolib.lib and dll are generated as well, and must be delivered
-along SDL as it uses it for audio.
-
-There are certain problems with GCC compiler when building for
-target, it may compile or binaries are buggy - please use RVCT
-compiler as it works and produces far more effient code.
-
-Its likely that SDL application should be integrated into S60 
-work and behave well there. So there is CSDL class (sdlepocapi.h)
-to make this easy. If you do porting from other system, then 
-implement a S60 application and use CSDL class, they you may
-not need to modify original SDL code at all!
+The sdlexe.dll/sdlexe.lib and sdlmain.lib are for easy SDL S60
+integration, please see http://www.mbnet.fi/~mertama/sdl.html
+for further info.
 
 
 
+
--- a/include/SDL_config_symbian.h	Thu Jul 05 02:53:40 2007 +0000
+++ b/include/SDL_config_symbian.h	Thu Jul 05 04:51:09 2007 +0000
@@ -135,7 +135,7 @@
 #define HAVE_ATOF 1
 #define HAVE_STRCMP 1
 #define HAVE_STRNCMP 1
-#define HAVE__STRICMP 1
+//#define HAVE__STRICMP 1
 #define HAVE__STRNICMP 1
 #define HAVE_SSCANF 1
 #define HAVE_STDARG_H	1
--- a/src/video/symbian/EKA2/dsa.cpp	Thu Jul 05 02:53:40 2007 +0000
+++ b/src/video/symbian/EKA2/dsa.cpp	Thu Jul 05 04:51:09 2007 +0000
@@ -12,7 +12,7 @@
 
 
 template<class T>
-class CBitmapSurface : public T
+NONSHARABLE_CLASS(CBitmapSurface) : public T
 	{
 public:
 	CBitmapSurface(RWsSession& aSession);
@@ -830,8 +830,9 @@
 
     
 CDsa::CDsa(RWsSession& aSession) : 
- 	iSession(aSession),
-  	iStateFlags(0)
+ 	iStateFlags(0),
+ 	iSession(aSession)
+  
 	{
 //	CActiveScheduler::Add(this);
 	iCFTable[0] = CopyMem;
Binary file symbian.zip has changed