From acc5d79d7c76c4ad5cc45c608ebee72c0a7af1de Mon Sep 17 00:00:00 2001 From: Lars Persson Date: Wed, 2 Apr 2008 21:19:17 +0000 Subject: Remove Symbian FS creation from common SDL code svn-id: r31364 --- backends/platform/symbian/AdaptAllMMPs.pl | 3 ++- backends/platform/symbian/S60v3/ScummVM_S60v3.mmp.in | 2 +- backends/platform/symbian/UIQ3/ScummVM_UIQ3.mmp.in | 2 +- backends/platform/symbian/src/SymbianOS.cpp | 7 ++++++- backends/platform/symbian/src/SymbianOS.h | 1 + 5 files changed, 11 insertions(+), 4 deletions(-) (limited to 'backends/platform/symbian') diff --git a/backends/platform/symbian/AdaptAllMMPs.pl b/backends/platform/symbian/AdaptAllMMPs.pl index ae10a7ed72..5a3426a232 100644 --- a/backends/platform/symbian/AdaptAllMMPs.pl +++ b/backends/platform/symbian/AdaptAllMMPs.pl @@ -73,7 +73,8 @@ my @excludes_graphics = ( my @excludes_scumm = ( "codec47ARM.cpp", - "gfxARM.cpp" + "gfxARM.cpp", + "proc3arm.cpp" ); #arseModule(mmpStr, dirStr, ifdefArray, [exclusionsArray]) diff --git a/backends/platform/symbian/S60v3/ScummVM_S60v3.mmp.in b/backends/platform/symbian/S60v3/ScummVM_S60v3.mmp.in index 473dd5c243..ff11657b34 100644 --- a/backends/platform/symbian/S60v3/ScummVM_S60v3.mmp.in +++ b/backends/platform/symbian/S60v3/ScummVM_S60v3.mmp.in @@ -115,7 +115,7 @@ SOURCEPATH ..\..\..\.. SOURCE backends\platform\sdl\events.cpp SOURCE backends\platform\sdl\graphics.cpp SOURCE backends\platform\sdl\sdl.cpp -SOURCE backends\fs\abstract-fs-factory.cpp +SOURCE backends\fs\symbian\symbian-fs-factory.cpp SOURCE backends\platform\symbian\src\SymbianOS.cpp SOURCE backends\platform\symbian\src\SymbianActions.cpp SOURCE backends\platform\symbian\src\ScummApp.cpp diff --git a/backends/platform/symbian/UIQ3/ScummVM_UIQ3.mmp.in b/backends/platform/symbian/UIQ3/ScummVM_UIQ3.mmp.in index 77dd1b8434..a1ac965148 100644 --- a/backends/platform/symbian/UIQ3/ScummVM_UIQ3.mmp.in +++ b/backends/platform/symbian/UIQ3/ScummVM_UIQ3.mmp.in @@ -116,7 +116,7 @@ SOURCEPATH ..\..\..\..\ SOURCE backends\platform\sdl\events.cpp SOURCE backends\platform\sdl\graphics.cpp SOURCE backends\platform\sdl\sdl.cpp -SOURCE backends\fs\abstract-fs-factory.cpp +SOURCE backends\fs\symbian\symbian-fs-factory.cpp SOURCE backends\platform\symbian\src\SymbianOS.cpp SOURCE backends\platform\symbian\src\SymbianActions.cpp SOURCE backends\platform\symbian\src\ScummApp.cpp diff --git a/backends/platform/symbian/src/SymbianOS.cpp b/backends/platform/symbian/src/SymbianOS.cpp index 341f551716..3e34025eab 100644 --- a/backends/platform/symbian/src/SymbianOS.cpp +++ b/backends/platform/symbian/src/SymbianOS.cpp @@ -24,7 +24,8 @@ #include // for CEikonEnv::Static() @ Symbian::FatalError() #include // for CSDLApp::GetExecutablePathCStr() @ Symbian::GetExecutablePath() - + +#include "backends/fs/symbian/symbian-fs-factory.h" #include "backends/platform/symbian/src/SymbianOS.h" #include "backends/platform/symbian/src/SymbianActions.h" #include "common/config-manager.h" @@ -105,6 +106,10 @@ void OSystem_SDL_Symbian::setFeatureState(Feature f, bool enable) { } } +FilesystemFactory *OSystem_SDL_Symbian::getFilesystemFactory() { + return &SymbianFilesystemFactory::instance(); +} + OSystem_SDL_Symbian::zoneDesc OSystem_SDL_Symbian::_zones[TOTAL_ZONES] = { { 0, 0, 320, 145 }, { 0, 145, 150, 55 }, diff --git a/backends/platform/symbian/src/SymbianOS.h b/backends/platform/symbian/src/SymbianOS.h index 68f692915a..77e42cd476 100644 --- a/backends/platform/symbian/src/SymbianOS.h +++ b/backends/platform/symbian/src/SymbianOS.h @@ -75,6 +75,7 @@ protected: // void symbianMix(byte *samples, int len); + virtual FilesystemFactory *getFilesystemFactory(); public: // vibration support #ifdef USE_VIBRA_SE_PXXX -- cgit v1.2.3