Core_Timing: Address Feedback and suppress warnings.

This commit is contained in:
Fernando Sahmkow 2019-10-11 14:44:14 -04:00
parent f2f4a797ee
commit 97669469d0
5 changed files with 12 additions and 13 deletions

View file

@ -156,7 +156,7 @@ void ARM_Unicorn::Run() {
if (GDBStub::IsServerEnabled()) {
ExecuteInstructions(std::max(4000000, 0));
} else {
ExecuteInstructions(std::max<s64>(system.CoreTiming().GetDowncount(), 0LL));
ExecuteInstructions(std::max(system.CoreTiming().GetDowncount(), s64{0}));
}
}