mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 03:37:32 +01:00
ARMDynarmicInterface: Correct GCC Build Errors.
This commit is contained in:
parent
7b1804dab4
commit
0a8013d71e
@ -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;
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user