mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-05 06:47:53 +00:00
31 lines
577 B
C++
31 lines
577 B
C++
// Copyright 2019 Yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "common/common_types.h"
|
|
|
|
namespace Core {
|
|
class System;
|
|
}
|
|
|
|
namespace Core::Timing {
|
|
struct EventType;
|
|
}
|
|
|
|
namespace Core::Hardware {
|
|
|
|
class InterruptManager {
|
|
public:
|
|
explicit InterruptManager(Core::System& system);
|
|
~InterruptManager();
|
|
|
|
void GPUInterruptSyncpt(u32 syncpoint_id, u32 value);
|
|
|
|
private:
|
|
Core::System& system;
|
|
Core::Timing::EventType* gpu_interrupt_event{};
|
|
};
|
|
|
|
} // namespace Core::Hardware
|