mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 18:22:47 +01:00
ARMDynarmicInterface: Correct GCC Build Errors.
This commit is contained in:
parent
7b1804dab4
commit
0a8013d71e
2 changed files with 6 additions and 6 deletions
|
@ -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 a new issue