diff options
author | aap <aap@papnet.eu> | 2019-06-02 10:25:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-02 10:25:55 +0200 |
commit | 9c26e46e17b421288f7653f4c9cff81b4b6cdfb0 (patch) | |
tree | c1b34122ddd4be0461a5310c964e8218b9f5781e /src/Timer.cpp | |
parent | implemented splashes; fixed zones (diff) | |
parent | Merge branch 'master' into master (diff) | |
download | re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.gz re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.bz2 re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.lz re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.xz re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.zst re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Timer.cpp | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/Timer.cpp b/src/Timer.cpp index c4609d7f..3a49d9df 100644 --- a/src/Timer.cpp +++ b/src/Timer.cpp @@ -16,15 +16,23 @@ float &CTimer::ms_fTimeStepNonClipped = *(float*)0x8E2C4C; bool &CTimer::m_UserPause = *(bool*)0x95CD7C; bool &CTimer::m_CodePause = *(bool*)0x95CDB1; -UInt32 oldPcTimer; -UInt32 suspendPcTimer; +//UInt32 oldPcTimer; +UInt32 &oldPcTimer = *(UInt32*)0x9434F4; -UInt32 _nCyclesPerMS = 1; +//UInt32 suspendPcTimer; +UInt32 &suspendPcTimer = *(UInt32*)0x62A308; -LARGE_INTEGER _oldPerfCounter; -LARGE_INTEGER perfSuspendCounter; +//UInt32 _nCyclesPerMS = 1; +UInt32 &_nCyclesPerMS = *(UInt32*)0x5F7610; -UInt32 suspendDepth; +//LARGE_INTEGER _oldPerfCounter; +LARGE_INTEGER &_oldPerfCounter = *(LARGE_INTEGER*)0x62A310; + +//LARGE_INTEGER perfSuspendCounter; +LARGE_INTEGER &perfSuspendCounter = *(LARGE_INTEGER*)0x62A318; + +//UInt32 suspendDepth; +UInt32 &suspendDepth = *(UInt32*)0x62A320; void CTimer::Initialise(void) { |