summaryrefslogtreecommitdiff
path: root/src/core/arm/unicorn
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-10-11 14:44:14 -0400
committerGravatar Fernando Sahmkow2019-10-11 14:44:14 -0400
commite0650a2034026d8292196128d2f9decb50eeb0f3 (patch)
tree59c51153a985e7fb66e62c812250c6dacd69a82c /src/core/arm/unicorn
parentCore Timing: Correct Idle and remove lefting pragma (diff)
downloadyuzu-e0650a2034026d8292196128d2f9decb50eeb0f3.tar.gz
yuzu-e0650a2034026d8292196128d2f9decb50eeb0f3.tar.xz
yuzu-e0650a2034026d8292196128d2f9decb50eeb0f3.zip
Core_Timing: Address Feedback and suppress warnings.
Diffstat (limited to 'src/core/arm/unicorn')
-rw-r--r--src/core/arm/unicorn/arm_unicorn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cpp
index 3f91b06d4..d4f41bfc1 100644
--- a/src/core/arm/unicorn/arm_unicorn.cpp
+++ b/src/core/arm/unicorn/arm_unicorn.cpp
@@ -156,7 +156,7 @@ void ARM_Unicorn::Run() {
156 if (GDBStub::IsServerEnabled()) { 156 if (GDBStub::IsServerEnabled()) {
157 ExecuteInstructions(std::max(4000000, 0)); 157 ExecuteInstructions(std::max(4000000, 0));
158 } else { 158 } else {
159 ExecuteInstructions(std::max<s64>(system.CoreTiming().GetDowncount(), 0LL)); 159 ExecuteInstructions(std::max(system.CoreTiming().GetDowncount(), s64{0}));
160 } 160 }
161} 161}
162 162