From c6752cccf5186fb04c97e2bb4a64c52fc9447073 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 28 Feb 2004 12:58:13 +0000 Subject: 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 --- common/timer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/timer.cpp') 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) { -- cgit v1.2.3