forked from ShuriZma/suyu
ARMDynarmicInterface: Correct GCC Build Errors.
This commit is contained in:
parent
7b1804dab4
commit
0a8013d71e
|
@ -91,11 +91,11 @@ public:
|
||||||
u64 GetTicksRemaining() override {
|
u64 GetTicksRemaining() override {
|
||||||
if (parent.uses_wall_clock) {
|
if (parent.uses_wall_clock) {
|
||||||
if (!parent.interrupt_handlers[parent.core_index].IsInterrupted()) {
|
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;
|
ARM_Dynarmic_32& parent;
|
||||||
|
|
|
@ -143,11 +143,11 @@ public:
|
||||||
u64 GetTicksRemaining() override {
|
u64 GetTicksRemaining() override {
|
||||||
if (parent.uses_wall_clock) {
|
if (parent.uses_wall_clock) {
|
||||||
if (!parent.interrupt_handlers[parent.core_index].IsInterrupted()) {
|
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 {
|
u64 GetCNTPCT() override {
|
||||||
|
|
Loading…
Reference in New Issue