mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-14 06:45:17 +00:00
CoreTiming: avoid overflow
This commit is contained in:
parent
00c34e4df7
commit
d63a76f4ce
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue