mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 02:44:56 +00:00
Add symbian implementations to create read/write configfile handles
svn-id: r34363
This commit is contained in:
parent
f88ad12952
commit
5388ecf722
@ -130,6 +130,16 @@ static Common::String getDefaultConfigFileName() {
|
||||
return configFile;
|
||||
}
|
||||
|
||||
Common::SeekableReadStream *OSystem_SDL_Symbian::openConfigFileForReading() {
|
||||
Common::FilesystemNode file(getDefaultConfigFileName());
|
||||
return file.openForReading();
|
||||
}
|
||||
|
||||
Common::WriteStream *OSystem_SDL_Symbian::openConfigFileForWriting() {
|
||||
Common::FilesystemNode file(getDefaultConfigFileName());
|
||||
return file.openForWriting();
|
||||
}
|
||||
|
||||
OSystem_SDL_Symbian::zoneDesc OSystem_SDL_Symbian::_zones[TOTAL_ZONES] = {
|
||||
{ 0, 0, 320, 145 },
|
||||
{ 0, 145, 150, 55 },
|
||||
|
@ -74,6 +74,9 @@ protected:
|
||||
//
|
||||
static void symbianMixCallback(void *s, byte *samples, int len);
|
||||
|
||||
|
||||
virtual Common::SeekableReadStream *openConfigFileForReading();
|
||||
virtual Common::WriteStream *openConfigFileForWriting();
|
||||
public:
|
||||
// vibration support
|
||||
#ifdef USE_VIBRA_SE_PXXX
|
||||
|
Loading…
x
Reference in New Issue
Block a user