ARMDynarmicInterface: Correct GCC Build Errors.

This commit is contained in:
Fernando Sahmkow 2020-05-14 14:48:50 -04:00
parent 7b1804dab4
commit 0a8013d71e
2 changed files with 6 additions and 6 deletions

View file

@ -91,11 +91,11 @@ public:
u64 GetTicksRemaining() override {
if (parent.uses_wall_clock) {
if (!parent.interrupt_handlers[parent.core_index].IsInterrupted()) {
return std::max<s64>(1000U, 0);
return 1000U;
}
return 0ULL;
return 0U;
}
return std::max(parent.system.CoreTiming().GetDowncount(), 0LL);
return std::max<s64>(parent.system.CoreTiming().GetDowncount(), 0);
}
ARM_Dynarmic_32& parent;

View file

@ -143,11 +143,11 @@ public:
u64 GetTicksRemaining() override {
if (parent.uses_wall_clock) {
if (!parent.interrupt_handlers[parent.core_index].IsInterrupted()) {
return std::max<s64>(1000U, 0);
return 1000U;
}
return 0ULL;
return 0U;
}
return std::max(parent.system.CoreTiming().GetDowncount(), 0LL);
return std::max<s64>(parent.system.CoreTiming().GetDowncount(), 0);
}
u64 GetCNTPCT() override {