mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 03:25:46 +00:00
Core_Timing: Address Feedback and suppress warnings.
This commit is contained in:
parent
f2f4a797ee
commit
97669469d0
5 changed files with 12 additions and 13 deletions
|
@ -116,7 +116,7 @@ public:
|
|||
num_interpreted_instructions = 0;
|
||||
}
|
||||
u64 GetTicksRemaining() override {
|
||||
return std::max<s64>(parent.system.CoreTiming().GetDowncount(), 0LL);
|
||||
return std::max(parent.system.CoreTiming().GetDowncount(), s64{0});
|
||||
}
|
||||
u64 GetCNTPCT() override {
|
||||
return Timing::CpuCyclesToClockCycles(parent.system.CoreTiming().GetTicks());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue