NVServices: Styling, define constructors as explicit and corrections

This commit is contained in:
Fernando Sahmkow
2019-06-18 20:53:21 -04:00
committed by FernandoS27
parent b391e5f638
commit d20ede40b1
24 changed files with 73 additions and 65 deletions

View File

@ -1,20 +1,27 @@
// Copyright 2019 Yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include "common/common_types.h"
#include "core/core_timing.h"
namespace Core {
class System;
}
namespace Core::Timing {
struct EventType;
}
namespace Core::Hardware {
class InterruptManager {
public:
InterruptManager(Core::System& system);
~InterruptManager() = default;
explicit InterruptManager(Core::System& system);
~InterruptManager();
void GPUInterruptSyncpt(const u32 syncpoint_id, const u32 value);
void GPUInterruptSyncpt(u32 syncpoint_id, u32 value);
private:
Core::System& system;