diff options
Diffstat (limited to 'common/system.cpp')
-rw-r--r-- | common/system.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/common/system.cpp b/common/system.cpp index 6be7775b05..27baea59f9 100644 --- a/common/system.cpp +++ b/common/system.cpp @@ -77,8 +77,16 @@ void OSystem::initBackend() { error("Backend failed to instantiate event manager"); if (!_timerManager) error("Backend failed to instantiate timer manager"); + + // TODO: We currently don't check _savefileManager, because at least + // on the Nintendo DS, it is possible that none is set. That should + // probably be treated as "saving is not possible". Or else the NDS + // port needs to be changed to always set a _savefileManager // if (!_savefileManager) // error("Backend failed to instantiate savefile manager"); + + // TODO: We currently don't check _fsFactory because not all ports + // set it. // if (!_fsFactory) // error("Backend failed to instantiate fs factory"); } @@ -109,11 +117,6 @@ void OSystem::fatalError() { exit(1); } -Common::SaveFileManager *OSystem::getSavefileManager() { - assert(_savefileManager); - return _savefileManager; -} - FilesystemFactory *OSystem::getFilesystemFactory() { assert(_fsFactory); return _fsFactory; |