Core Timing: Rework Core Timing to run all cores evenly.

This commit is contained in:
Fernando Sahmkow
2019-09-09 21:37:29 -04:00
committed by FernandoS27
parent e664c24355
commit 555866f8dc
6 changed files with 89 additions and 38 deletions

View File

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