summaryrefslogtreecommitdiffstats
path: root/src/core/Timer.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-03-31 12:30:13 +0200
committerSergeanur <s.anureev@yandex.ua>2020-03-31 15:11:45 +0200
commit409663adb8cd5b6d4ad732ec9713657a1bae9e04 (patch)
treee0c000148920cf972098142cd68051f77e8fb397 /src/core/Timer.cpp
parentMerge pull request #373 from erorcun/erorcun (diff)
downloadre3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.tar
re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.tar.gz
re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.tar.bz2
re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.tar.lz
re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.tar.xz
re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.tar.zst
re3-409663adb8cd5b6d4ad732ec9713657a1bae9e04.zip
Diffstat (limited to '')
-rw-r--r--src/core/Timer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/Timer.cpp b/src/core/Timer.cpp
index a46e1d8b..18d6b6a3 100644
--- a/src/core/Timer.cpp
+++ b/src/core/Timer.cpp
@@ -214,6 +214,11 @@ void CTimer::EndUserPause(void)
m_UserPause = false;
}
+uint32 CTimer::GetCyclesPerFrame()
+{
+ return 20;
+}
+
#if 1
STARTPATCHES
InjectHook(0x4ACE60, CTimer::Initialise, PATCH_JUMP);