aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/palette.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/driver/palette.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/driver/palette.cpp')
-rw-r--r--sword2/driver/palette.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sword2/driver/palette.cpp b/sword2/driver/palette.cpp
index a4098426b3..4b69fbc48c 100644
--- a/sword2/driver/palette.cpp
+++ b/sword2/driver/palette.cpp
@@ -141,7 +141,7 @@ int32 Graphics::fadeUp(float time) {
_fadeTotalTime = (int32) (time * 1000);
_fadeStatus = RDFADE_UP;
- _fadeStartTime = SVM_timeGetTime();
+ _fadeStartTime = g_system->get_msecs();
return RD_OK;
}
@@ -157,7 +157,7 @@ int32 Graphics::fadeDown(float time) {
_fadeTotalTime = (int32) (time * 1000);
_fadeStatus = RDFADE_DOWN;
- _fadeStartTime = SVM_timeGetTime();
+ _fadeStartTime = g_system->get_msecs();
return RD_OK;
}
@@ -196,7 +196,7 @@ void Graphics::fadeServer(void) {
// I don't know if this is necessary, but let's limit how often the
// palette is updated, just to be safe.
- currentTime = SVM_timeGetTime();
+ currentTime = g_system->get_msecs();
if (currentTime - previousTime <= 25)
return;