mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 21:17:58 -05:00
core_timing: Make use of std::chrono with ScheduleEvent
This commit is contained in:
@ -23,7 +23,7 @@ InterruptManager::~InterruptManager() = default;
|
||||
|
||||
void InterruptManager::GPUInterruptSyncpt(const u32 syncpoint_id, const u32 value) {
|
||||
const u64 msg = (static_cast<u64>(syncpoint_id) << 32ULL) | value;
|
||||
system.CoreTiming().ScheduleEvent(10, gpu_interrupt_event, msg);
|
||||
system.CoreTiming().ScheduleEvent(std::chrono::nanoseconds{10}, gpu_interrupt_event, msg);
|
||||
}
|
||||
|
||||
} // namespace Core::Hardware
|
||||
|
Reference in New Issue
Block a user