diff options
author | Torbjörn Andersson | 2003-11-11 10:30:25 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-11-11 10:30:25 +0000 |
commit | 1f53624d88ac05bff0b4f408507eeca331cfdcd5 (patch) | |
tree | 682dd311f072b41437369e671a8d3d7a4faf5ab4 /sword2/build_display.cpp | |
parent | 70bc5d15ec0af3dd6c009063816dac1e045067ef (diff) | |
download | scummvm-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/build_display.cpp')
-rw-r--r-- | sword2/build_display.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sword2/build_display.cpp b/sword2/build_display.cpp index 6b187a92d6..34951bca3d 100644 --- a/sword2/build_display.cpp +++ b/sword2/build_display.cpp @@ -173,11 +173,11 @@ void Sword2Engine::buildDisplay(void) { // update our fps reading _frameCount++; - if (SVM_timeGetTime() > _cycleTime) { + if (_system->get_msecs() > _cycleTime) { _fps = _frameCount; debug(2, "FPS: %d", _fps); _frameCount = 0; - _cycleTime = SVM_timeGetTime() + 1000; + _cycleTime = _system->get_msecs() + 1000; } // Check if we've got time to render the screen again @@ -255,7 +255,7 @@ void Sword2Engine::displayMsg(uint8 *text, int time) { g_graphics->waitForFade(); - uint32 targetTime = SVM_timeGetTime() + (time * 1000); + uint32 targetTime = _system->get_msecs() + (time * 1000); // Keep the message there even when the user task swaps. rv = g_graphics->drawSprite(&spriteInfo); |