# HG changeset patch # User Ryan C. Gordon # Date 1183611069 0 # Node ID ce804680906272c3c35244011b410a5d6ca2213c # Parent ea059917233cf66d82e0c8dd859468f6d18a76ce Minor updates to the Symbian/S60 port, plus project files that weren't previously imported. Fixes Bugzilla #433. diff -r ea059917233c -r ce8046809062 README.Symbian --- 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. + diff -r ea059917233c -r ce8046809062 include/SDL_config_symbian.h --- 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 diff -r ea059917233c -r ce8046809062 src/video/symbian/EKA2/dsa.cpp --- 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 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; diff -r ea059917233c -r ce8046809062 symbian.zip Binary file symbian.zip has changed