mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-16 00:40:05 +00:00
25 lines
421 B
C++
25 lines
421 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 InterruptGPU(const u32 event_index);
|
||
|
|
||
|
private:
|
||
|
Core::System& system;
|
||
|
Core::Timing::EventType* gpu_interrupt_event{};
|
||
|
};
|
||
|
|
||
|
} // namespace Core::Hardware
|