aboutsummaryrefslogtreecommitdiff
path: root/sword2/console.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-11-11 10:30:25 +0000
committerTorbjörn Andersson2003-11-11 10:30:25 +0000
commit1f53624d88ac05bff0b4f408507eeca331cfdcd5 (patch)
tree682dd311f072b41437369e671a8d3d7a4faf5ab4 /sword2/console.cpp
parent70bc5d15ec0af3dd6c009063816dac1e045067ef (diff)
downloadscummvm-rg350-1f53624d88ac05bff0b4f408507eeca331cfdcd5.tar.gz
scummvm-rg350-1f53624d88ac05bff0b4f408507eeca331cfdcd5.tar.bz2
scummvm-rg350-1f53624d88ac05bff0b4f408507eeca331cfdcd5.zip
Removed SVM_timeGetTime(). We may as well call get_msecs() directly.
svn-id: r11260
Diffstat (limited to 'sword2/console.cpp')
-rw-r--r--sword2/console.cpp4
1 files changed, 2 insertions, 2 deletions
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;