diff options
author | Lioncash <mathew1800@gmail.com> | 2015-09-16 14:38:12 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-09-16 14:51:53 +0200 |
commit | 751fbfdcc33420cb39aee30158706984efb4da40 (patch) | |
tree | 570330019bba030c78af7d7715b89a5b3de7ccc6 /src/core/core_timing.cpp | |
parent | Merge pull request #1097 from yuriks/cfg-blocks (diff) | |
download | yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.gz yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.bz2 yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.lz yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.xz yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.zst yuzu-751fbfdcc33420cb39aee30158706984efb4da40.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/core_timing.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp index 56615502c..aba22cdd1 100644 --- a/src/core/core_timing.cpp +++ b/src/core/core_timing.cpp @@ -3,6 +3,7 @@ // Refer to the license.txt file included. #include <atomic> +#include <cinttypes> #include <mutex> #include <vector> @@ -530,7 +531,7 @@ void Idle(int max_idle) { } } - LOG_TRACE(Core_Timing, "Idle for %i cycles! (%f ms)", cycles_down, cycles_down / (float)(g_clock_rate_arm11 * 0.001f)); + LOG_TRACE(Core_Timing, "Idle for %" PRId64 " cycles! (%f ms)", cycles_down, cycles_down / (float)(g_clock_rate_arm11 * 0.001f)); idled_cycles += cycles_down; Core::g_app_core->down_count -= cycles_down; |