summaryrefslogtreecommitdiff
path: root/src/core/hardware_interrupt_manager.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-06-18 20:53:21 -0400
committerGravatar FernandoS272019-07-05 15:49:32 -0400
commitd20ede40b1e9cd0539982fb1feb3b13af3501ea2 (patch)
treea084fedd90a6a3cc3e11b099f4ddfe194d49c8ea /src/core/hardware_interrupt_manager.h
parentNVFlinger: Correct GCC compile error (diff)
downloadyuzu-d20ede40b1e9cd0539982fb1feb3b13af3501ea2.tar.gz
yuzu-d20ede40b1e9cd0539982fb1feb3b13af3501ea2.tar.xz
yuzu-d20ede40b1e9cd0539982fb1feb3b13af3501ea2.zip
NVServices: Styling, define constructors as explicit and corrections
Diffstat (limited to 'src/core/hardware_interrupt_manager.h')
-rw-r--r--src/core/hardware_interrupt_manager.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/core/hardware_interrupt_manager.h b/src/core/hardware_interrupt_manager.h
index 590392f75..494db883a 100644
--- a/src/core/hardware_interrupt_manager.h
+++ b/src/core/hardware_interrupt_manager.h
@@ -1,20 +1,27 @@
1// Copyright 2019 Yuzu Emulator Project
2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included.
4
1#pragma once 5#pragma once
2 6
3#include "common/common_types.h" 7#include "common/common_types.h"
4#include "core/core_timing.h"
5 8
6namespace Core { 9namespace Core {
7class System; 10class System;
8} 11}
9 12
13namespace Core::Timing {
14struct EventType;
15}
16
10namespace Core::Hardware { 17namespace Core::Hardware {
11 18
12class InterruptManager { 19class InterruptManager {
13public: 20public:
14 InterruptManager(Core::System& system); 21 explicit InterruptManager(Core::System& system);
15 ~InterruptManager() = default; 22 ~InterruptManager();
16 23
17 void GPUInterruptSyncpt(const u32 syncpoint_id, const u32 value); 24 void GPUInterruptSyncpt(u32 syncpoint_id, u32 value);
18 25
19private: 26private:
20 Core::System& system; 27 Core::System& system;