OSYSTEM: Pushed out some port specific code from common/system.cpp to the respective ports

svn-id: r34812
This commit is contained in:
Max Horn 2008-10-16 17:18:15 +00:00
parent 0cd4939110
commit 36311eefb4
9 changed files with 62 additions and 38 deletions

View file

@ -171,10 +171,22 @@ Common::SaveFileManager *OSystem_PalmBase::getSavefileManager() {
return _saveMgr;
}
Audio::Mixer * OSystem_PalmBase::getMixer() {
Audio::Mixer *OSystem_PalmBase::getMixer() {
return _mixerMgr;
}
Common::TimerManager * OSystem_PalmBase::getTimerManager() {
Common::TimerManager *OSystem_PalmBase::getTimerManager() {
return _timerMgr;
}
#define PALMOS_CONFIG_FILE "/PALM/Programs/ScummVM/scummvm.ini"
Common::SeekableReadStream *OSystem_PalmBase::openConfigFileForReading() {
Common::FSNode file(PALMOS_CONFIG_FILE);
return file.openForReading();
}
Common::WriteStream *OSystem_PalmBase::openConfigFileForWriting() {
Common::FSNode file(PALMOS_CONFIG_FILE);
return file.openForWriting();
}