summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-11-02 04:06:13 +0100
committerarchshift <admin@archshift.com>2014-11-02 04:07:59 +0100
commitc22923f8c4bd86f28f38b005b03bd51bf3bfc90d (patch)
treeba199d89d2325d52d6295be9ef6cddc22efe325b /src/core/hle
parentMerge pull request #135 from purpasmart96/master (diff)
downloadyuzu-c22923f8c4bd86f28f38b005b03bd51bf3bfc90d.tar
yuzu-c22923f8c4bd86f28f38b005b03bd51bf3bfc90d.tar.gz
yuzu-c22923f8c4bd86f28f38b005b03bd51bf3bfc90d.tar.bz2
yuzu-c22923f8c4bd86f28f38b005b03bd51bf3bfc90d.tar.lz
yuzu-c22923f8c4bd86f28f38b005b03bd51bf3bfc90d.tar.xz
yuzu-c22923f8c4bd86f28f38b005b03bd51bf3bfc90d.tar.zst
yuzu-c22923f8c4bd86f28f38b005b03bd51bf3bfc90d.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/err_f.cpp27
-rw-r--r--src/core/hle/service/err_f.h27
-rw-r--r--src/core/hle/service/service.cpp2
3 files changed, 56 insertions, 0 deletions
diff --git a/src/core/hle/service/err_f.cpp b/src/core/hle/service/err_f.cpp
new file mode 100644
index 000000000..917b2f8ca
--- /dev/null
+++ b/src/core/hle/service/err_f.cpp
@@ -0,0 +1,27 @@
+// Copyright 2014 Citra Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#include "common/log.h"
+#include "core/hle/hle.h"
+#include "core/hle/service/err_f.h"
+
+////////////////////////////////////////////////////////////////////////////////////////////////////
+// Namespace ERR_F
+
+namespace ERR_F {
+
+ const Interface::FunctionInfo FunctionTable[] = {
+ {0x00010800, nullptr, "ThrowFatalError"}
+ };
+ ////////////////////////////////////////////////////////////////////////////////////////////////////
+ // Interface class
+
+ Interface::Interface() {
+ Register(FunctionTable, ARRAY_SIZE(FunctionTable));
+ }
+
+ Interface::~Interface() {
+ }
+
+} // namespace
diff --git a/src/core/hle/service/err_f.h b/src/core/hle/service/err_f.h
new file mode 100644
index 000000000..5da663267
--- /dev/null
+++ b/src/core/hle/service/err_f.h
@@ -0,0 +1,27 @@
+// Copyright 2014 Citra Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include "core/hle/service/service.h"
+
+////////////////////////////////////////////////////////////////////////////////////////////////////
+// Namespace ERR_F
+
+namespace ERR_F {
+
+ class Interface : public Service::Interface {
+ public:
+ Interface();
+ ~Interface();
+ /**
+ * Gets the string port name used by CTROS for the service
+ * @return Port name of service
+ */
+ std::string GetPortName() const {
+ return "err:f";
+ }
+ };
+
+} // namespace
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index ab1b37ff5..b144a77d4 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -10,6 +10,7 @@
#include "core/hle/service/apt_u.h"
#include "core/hle/service/cfg_u.h"
#include "core/hle/service/dsp_dsp.h"
+#include "core/hle/service/err_f.h"
#include "core/hle/service/fs_user.h"
#include "core/hle/service/gsp_gpu.h"
#include "core/hle/service/hid_user.h"
@@ -78,6 +79,7 @@ void Init() {
g_manager->AddService(new APT_U::Interface);
g_manager->AddService(new CFG_U::Interface);
g_manager->AddService(new DSP_DSP::Interface);
+ g_manager->AddService(new ERR_F::Interface);
g_manager->AddService(new FS_User::Interface);
g_manager->AddService(new GSP_GPU::Interface);
g_manager->AddService(new HID_User::Interface);