mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-02 13:27:52 +00:00
24 lines
445 B
C++
24 lines
445 B
C++
#pragma once
|
|
|
|
#include "common/common_types.h"
|
|
#include "core/core_timing.h"
|
|
|
|
namespace Core {
|
|
class System;
|
|
}
|
|
|
|
namespace Core::Hardware {
|
|
|
|
class InterruptManager {
|
|
public:
|
|
InterruptManager(Core::System& system);
|
|
~InterruptManager() = default;
|
|
|
|
void GPUInterruptSyncpt(const u32 syncpoint_id, const u32 value);
|
|
|
|
private:
|
|
Core::System& system;
|
|
Core::Timing::EventType* gpu_interrupt_event{};
|
|
};
|
|
|
|
} // namespace Core::Hardware
|