Core_Timing: Address Feedback and suppress warnings.

This commit is contained in:
Fernando Sahmkow
2019-10-11 14:44:14 -04:00
parent 96f2b16356
commit e0650a2034
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}));
}
}