Files
eden/src/core/hle/service/fatal/fatal.h
T

35 lines
878 B
C++
Raw Normal View History

2018-03-20 16:55:20 +03:00
// Copyright 2018 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include "core/hle/service/service.h"
2019-09-21 18:43:03 +10:00
namespace Core {
class System;
}
namespace Service::Fatal {
2018-03-20 16:55:20 +03:00
class Module final {
public:
class Interface : public ServiceFramework<Interface> {
public:
explicit Interface(std::shared_ptr<Module> module_, Core::System& system_,
const char* name);
~Interface() override;
2018-03-20 16:55:20 +03:00
2018-09-24 12:34:11 +10:00
void ThrowFatal(Kernel::HLERequestContext& ctx);
2018-05-18 23:30:56 +02:00
void ThrowFatalWithPolicy(Kernel::HLERequestContext& ctx);
void ThrowFatalWithCpuContext(Kernel::HLERequestContext& ctx);
2018-03-20 16:55:20 +03:00
protected:
std::shared_ptr<Module> module;
};
};
2019-09-21 18:43:03 +10:00
void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system);
2018-03-20 16:55:20 +03:00
} // namespace Service::Fatal