summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Timer.cpp')
-rw-r--r--Source/Core/Common/Timer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/Common/Timer.cpp b/Source/Core/Common/Timer.cpp
index 794f2dfd49..aa5e2ff173 100644
--- a/Source/Core/Common/Timer.cpp
+++ b/Source/Core/Common/Timer.cpp
@@ -118,10 +118,9 @@ void Timer::AddTimeDifference()
// Get the time elapsed since the Start()
u64 Timer::GetTimeElapsed()
{
- // If we have not started yet, return 1 (because then I don't
- // have to change the FPS calculation in CoreRerecording.cpp .
+ // If we have not started yet, return zero
if (m_StartTime == 0)
- return 1;
+ return 0;
// Return the final timer time if the timer is stopped
if (!m_Running)