Minor updates to the Symbian/S60 port, plus project files that weren't SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Thu, 05 Jul 2007 04:51:09 +0000
branchSDL-1.2
changeset 4004ce8046809062
parent 4003 ea059917233c
child 4005 fb74445b4d19
Minor updates to the Symbian/S60 port, plus project files that weren't
previously imported.

Fixes Bugzilla #433.
README.Symbian
include/SDL_config_symbian.h
src/video/symbian/EKA2/dsa.cpp
symbian.zip
     1.1 --- a/README.Symbian	Thu Jul 05 02:53:40 2007 +0000
     1.2 +++ b/README.Symbian	Thu Jul 05 04:51:09 2007 +0000
     1.3 @@ -14,19 +14,10 @@
     1.4  
     1.5  That produces WINSCW and ARMV5 versions of sdl.dll runtime library 
     1.6  and sdl.lib for development. 
     1.7 +The sdlexe.dll/sdlexe.lib and sdlmain.lib are for easy SDL S60
     1.8 +integration, please see http://www.mbnet.fi/~mertama/sdl.html
     1.9 +for further info.
    1.10  
    1.11 -Eaudiolib.lib and dll are generated as well, and must be delivered
    1.12 -along SDL as it uses it for audio.
    1.13  
    1.14 -There are certain problems with GCC compiler when building for
    1.15 -target, it may compile or binaries are buggy - please use RVCT
    1.16 -compiler as it works and produces far more effient code.
    1.17  
    1.18 -Its likely that SDL application should be integrated into S60 
    1.19 -work and behave well there. So there is CSDL class (sdlepocapi.h)
    1.20 -to make this easy. If you do porting from other system, then 
    1.21 -implement a S60 application and use CSDL class, they you may
    1.22 -not need to modify original SDL code at all!
    1.23  
    1.24 -
    1.25 -
     2.1 --- a/include/SDL_config_symbian.h	Thu Jul 05 02:53:40 2007 +0000
     2.2 +++ b/include/SDL_config_symbian.h	Thu Jul 05 04:51:09 2007 +0000
     2.3 @@ -135,7 +135,7 @@
     2.4  #define HAVE_ATOF 1
     2.5  #define HAVE_STRCMP 1
     2.6  #define HAVE_STRNCMP 1
     2.7 -#define HAVE__STRICMP 1
     2.8 +//#define HAVE__STRICMP 1
     2.9  #define HAVE__STRNICMP 1
    2.10  #define HAVE_SSCANF 1
    2.11  #define HAVE_STDARG_H	1
     3.1 --- a/src/video/symbian/EKA2/dsa.cpp	Thu Jul 05 02:53:40 2007 +0000
     3.2 +++ b/src/video/symbian/EKA2/dsa.cpp	Thu Jul 05 04:51:09 2007 +0000
     3.3 @@ -12,7 +12,7 @@
     3.4  
     3.5  
     3.6  template<class T>
     3.7 -class CBitmapSurface : public T
     3.8 +NONSHARABLE_CLASS(CBitmapSurface) : public T
     3.9  	{
    3.10  public:
    3.11  	CBitmapSurface(RWsSession& aSession);
    3.12 @@ -830,8 +830,9 @@
    3.13  
    3.14      
    3.15  CDsa::CDsa(RWsSession& aSession) : 
    3.16 - 	iSession(aSession),
    3.17 -  	iStateFlags(0)
    3.18 + 	iStateFlags(0),
    3.19 + 	iSession(aSession)
    3.20 +  
    3.21  	{
    3.22  //	CActiveScheduler::Add(this);
    3.23  	iCFTable[0] = CopyMem;
     4.1 Binary file symbian.zip has changed