summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2016-07-20 14:49:01 +0200
committerwwylele <wwylele@gmail.com>2016-07-23 13:30:23 +0200
commitd63a76f4ce47962d7f191f3d4911c12344c4d249 (patch)
tree60611fb27fc92610176216a8f947cf5bd82d9b63 /src
parentHLE: implement system time (diff)
downloadyuzu-d63a76f4ce47962d7f191f3d4911c12344c4d249.tar
yuzu-d63a76f4ce47962d7f191f3d4911c12344c4d249.tar.gz
yuzu-d63a76f4ce47962d7f191f3d4911c12344c4d249.tar.bz2
yuzu-d63a76f4ce47962d7f191f3d4911c12344c4d249.tar.lz
yuzu-d63a76f4ce47962d7f191f3d4911c12344c4d249.tar.xz
yuzu-d63a76f4ce47962d7f191f3d4911c12344c4d249.tar.zst
yuzu-d63a76f4ce47962d7f191f3d4911c12344c4d249.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/core_timing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h
index 64f5b06d9..3d8a7d0c0 100644
--- a/src/core/core_timing.h
+++ b/src/core/core_timing.h
@@ -26,7 +26,7 @@
extern int g_clock_rate_arm11;
inline s64 msToCycles(int ms) {
- return g_clock_rate_arm11 / 1000 * ms;
+ return (s64)g_clock_rate_arm11 / 1000 * ms;
}
inline s64 msToCycles(float ms) {