mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 23:06:23 -05:00
99ceb03a1c
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
32 lines
591 B
C++
32 lines
591 B
C++
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
#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;
|
|
std::shared_ptr<Core::Timing::EventType> gpu_interrupt_event;
|
|
};
|
|
|
|
} // namespace Core::Hardware
|