aboutsummaryrefslogtreecommitdiff
path: root/common/timer.cpp
diff options
context:
space:
mode:
authorMax Horn2004-02-28 12:58:13 +0000
committerMax Horn2004-02-28 12:58:13 +0000
commitc6752cccf5186fb04c97e2bb4a64c52fc9447073 (patch)
tree91f3f0264b1542a839cc3504b52603a8034547cb /common/timer.cpp
parent56102a1d02925abbe9fc0504751de1a270a34ff3 (diff)
downloadscummvm-rg350-c6752cccf5186fb04c97e2bb4a64c52fc9447073.tar.gz
scummvm-rg350-c6752cccf5186fb04c97e2bb4a64c52fc9447073.tar.bz2
scummvm-rg350-c6752cccf5186fb04c97e2bb4a64c52fc9447073.zip
renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
Diffstat (limited to 'common/timer.cpp')
-rw-r--r--common/timer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/timer.cpp b/common/timer.cpp
index 4a4115f789..06f3b6af90 100644
--- a/common/timer.cpp
+++ b/common/timer.cpp
@@ -33,7 +33,7 @@ Timer::Timer(OSystem *system) :
_timerHandler(0),
_lastTime(0) {
- _mutex = _system->create_mutex();
+ _mutex = _system->createMutex();
g_timer = this;
@@ -71,7 +71,7 @@ Timer::~Timer() {
// it is still waiting for the _mutex. So, again depending on the backend,
// we might end up unlocking the mutex then immediately deleting it, while
// the timer thread is about to lock it.
- _system->delete_mutex(_mutex);
+ _system->deleteMutex(_mutex);
}
int Timer::timer_handler(int t) {