mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-18 17:00:30 +02:00
Mark some functions as const
This commit is contained in:
1 parent
f7baec317c
commit
a962bc5a6c
14 files changed
+34
-34
No files matched your search
+2
-2
@@ -93,7 +93,7 @@ void Timer::Update()
|
||||
// -------------------------------------
|
||||
|
||||
// Get the number of milliseconds since the last Update()
|
||||
u64 Timer::GetTimeDifference()
|
||||
u64 Timer::GetTimeDifference() const
|
||||
{
|
||||
return GetTimeMs() - m_LastTime;
|
||||
}
|
||||
@@ -112,7 +112,7 @@ void Timer::WindBackStartingTime(u64 WindBack)
|
||||
}
|
||||
|
||||
// Get the time elapsed since the Start()
|
||||
u64 Timer::GetTimeElapsed()
|
||||
u64 Timer::GetTimeElapsed() const
|
||||
{
|
||||
// If we have not started yet, return 1 (because then I don't
|
||||
// have to change the FPS calculation in CoreRerecording.cpp .
|
||||
|
||||
Reference in new issue
Block a user