diff options
author | Lars Persson | 2007-06-10 19:43:48 +0000 |
---|---|---|
committer | Lars Persson | 2007-06-10 19:43:48 +0000 |
commit | a896ec3aad99f0f4ee930b808dc569de5d53c7f2 (patch) | |
tree | 4e9669eb718ca4a5f959e593109b0f0800e1cd16 /backends/platform/symbian/src/SymbianOS.cpp | |
parent | e6383eb8c3383a9342f21d452d65b940548827ac (diff) | |
download | scummvm-rg350-a896ec3aad99f0f4ee930b808dc569de5d53c7f2.tar.gz scummvm-rg350-a896ec3aad99f0f4ee930b808dc569de5d53c7f2.tar.bz2 scummvm-rg350-a896ec3aad99f0f4ee930b808dc569de5d53c7f2.zip |
Updated makefile scripts with correct documents.
svn-id: r27329
Diffstat (limited to 'backends/platform/symbian/src/SymbianOS.cpp')
-rw-r--r-- | backends/platform/symbian/src/SymbianOS.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/backends/platform/symbian/src/SymbianOS.cpp b/backends/platform/symbian/src/SymbianOS.cpp index 0bb67c97b9..8da3207dff 100644 --- a/backends/platform/symbian/src/SymbianOS.cpp +++ b/backends/platform/symbian/src/SymbianOS.cpp @@ -106,6 +106,10 @@ OSystem_SDL_Symbian::OSystem_SDL_Symbian() :_channels(0),_stereo_mix_buffer(0) { } void OSystem_SDL_Symbian::initBackend() { + char predfile[256]; + strcpy(predfile, Symbian::GetExecutablePath()); + strcat(predfile, "pred.dic"); + ConfMan.set("predictive_dictionary", predfile); ConfMan.setBool("FM_high_quality", false); #if !defined(S60) || defined(S60V3) // S60 has low quality as default ConfMan.setBool("FM_medium_quality", true); @@ -145,7 +149,7 @@ bool OSystem_SDL_Symbian::setGraphicsMode(const char * /*name*/) { return OSystem_SDL::setGraphicsMode(getDefaultGraphicsMode()); } -void OSystem_SDL_Symbian::quitWithErrorMsg(const char *msg) { +void OSystem_SDL_Symbian::quitWithErrorMsg(const char * /*aMsg*/) { CEikonEnv::Static()->AlertWin(_L("quitWithErrorMsg()")) ; @@ -433,7 +437,7 @@ struct TSymbianFileEntry { FILE* symbian_fopen(const char* name, const char* mode) { TSymbianFileEntry* fileEntry = new TSymbianFileEntry; - + if (fileEntry != NULL) { TInt modeLen = strlen(mode); @@ -480,7 +484,6 @@ FILE* symbian_fopen(const char* name, const char* mode) { break; } } - return (FILE*) fileEntry; } |