BACKENDS: All backends use _timerManager now, adapt OSystem accordingly

This commit is contained in:
Max Horn 2011-06-07 11:58:40 +02:00
parent 4ebe2065b6
commit f13e671759
2 changed files with 3 additions and 5 deletions

View File

@ -109,10 +109,6 @@ void OSystem::fatalError() {
exit(1);
}
Common::TimerManager *OSystem::getTimerManager() {
return _timerManager;
}
Common::SaveFileManager *OSystem::getSavefileManager() {
assert(_savefileManager);
return _savefileManager;

View File

@ -890,7 +890,9 @@ public:
* Return the timer manager singleton. For more information, refer
* to the TimerManager documentation.
*/
virtual Common::TimerManager *getTimerManager();
inline Common::TimerManager *getTimerManager() {
return _timerManager;
}
/**
* Return the event manager singleton. For more information, refer