summaryrefslogtreecommitdiffstats
path: root/src/core/hardware_interrupt_manager.h
blob: fc565c88bfac08f86e5738c48d29ec1aa07a71ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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