diff options
author | Max Hilbrunner <m.hilbrunner@gmail.com> | 2021-10-26 08:44:50 +0200 |
---|---|---|
committer | Max Hilbrunner <m.hilbrunner@gmail.com> | 2021-10-26 13:58:58 +0200 |
commit | 5dc02eb8b0e30a3ede3be7e341a2681e92cf3562 (patch) | |
tree | b005aa03b8dc9ad92469836e673587263b205e23 /core/debugger | |
parent | 64faa37e4501afed96f40b50d42d8a0614cf583d (diff) |
Save all 64 bits of get_ticks_msec() in more cases
Diffstat (limited to 'core/debugger')
-rw-r--r-- | core/debugger/remote_debugger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/debugger/remote_debugger.cpp b/core/debugger/remote_debugger.cpp index 9967d1e361..4607bd2f3f 100644 --- a/core/debugger/remote_debugger.cpp +++ b/core/debugger/remote_debugger.cpp @@ -79,8 +79,8 @@ public: ERR_FAIL_COND_V(p_buffer.size() == 0, 0); int total_bandwidth = 0; - uint32_t timestamp = OS::get_singleton()->get_ticks_msec(); - uint32_t final_timestamp = timestamp - 1000; + uint64_t timestamp = OS::get_singleton()->get_ticks_msec(); + uint64_t final_timestamp = timestamp - 1000; int i = (p_pointer + p_buffer.size() - 1) % p_buffer.size(); |