diff options
Diffstat (limited to 'sword2/build_display.cpp')
-rw-r--r-- | sword2/build_display.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sword2/build_display.cpp b/sword2/build_display.cpp index 0a7ea7e7e9..91ef71c81f 100644 --- a/sword2/build_display.cpp +++ b/sword2/build_display.cpp @@ -260,11 +260,11 @@ void Build_display(void) //Tony21Sept96 // update our fps reading frameCount += 1; - if (timeGetTime() > cycleTime) + if (SVM_timeGetTime() > cycleTime) { fps = frameCount; frameCount = 0; - cycleTime = timeGetTime()+1000; + cycleTime = SVM_timeGetTime()+1000; } //---------------------------------------------------- // check if we've got time to render the screen again this cycle @@ -429,9 +429,9 @@ void DisplayMsg( uint8 *text, int time ) // Chris 15May97 } while(GetFadeStatus()==RDFADE_UP); - DWORD targetTime = timeGetTime() + (time*1000); + DWORD targetTime = SVM_timeGetTime() + (time*1000); - while(timeGetTime() < targetTime) + while(SVM_timeGetTime() < targetTime) { //-------------------------------------------------- // Service windows |