From 1f53624d88ac05bff0b4f408507eeca331cfdcd5 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 11 Nov 2003 10:30:25 +0000 Subject: Removed SVM_timeGetTime(). We may as well call get_msecs() directly. svn-id: r11260 --- sword2/console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sword2/console.cpp') diff --git a/sword2/console.cpp b/sword2/console.cpp index e50741fdb9..e6939ddb8e 100644 --- a/sword2/console.cpp +++ b/sword2/console.cpp @@ -466,9 +466,9 @@ bool Debugger::Cmd_BltFxOff(int argc, const char **argv) { bool Debugger::Cmd_TimeOn(int argc, const char **argv) { if (argc == 2) - _startTime = SVM_timeGetTime() - atoi(argv[1]) * 1000; + _startTime = g_system->get_msecs() - atoi(argv[1]) * 1000; else if (_startTime == 0) - _startTime = SVM_timeGetTime(); + _startTime = g_system->get_msecs(); _displayTime = true; DebugPrintf("Timer display on\n"); return true; -- cgit v1.2.3