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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
795 B
C++
Raw Normal View History

// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2018-03-20 16:55:20 +03:00
#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
2023-02-19 14:42:12 -05:00
void ThrowFatal(HLERequestContext& ctx);
void ThrowFatalWithPolicy(HLERequestContext& ctx);
void ThrowFatalWithCpuContext(HLERequestContext& ctx);
2018-03-20 16:55:20 +03:00
protected:
std::shared_ptr<Module> module;
};
};
2023-02-18 16:26:48 -05:00
void LoopProcess(Core::System& system);
2018-03-20 16:55:20 +03:00
} // namespace Service::Fatal