diff options
author | bunnei <bunneidev@gmail.com> | 2017-10-10 23:32:14 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-10-10 23:32:14 +0200 |
commit | 0906de9a14b735d1d409290ca050eb7d2c2d3d84 (patch) | |
tree | 79bb57d3a4dc4ca377e7a62744c3941de29e785b /src/core/hle/service/news | |
parent | Merge remote-tracking branch 'upstream/master' into nx (diff) | |
download | yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar.gz yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar.bz2 yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar.lz yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar.xz yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar.zst yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.zip |
Diffstat (limited to 'src/core/hle/service/news')
-rw-r--r-- | src/core/hle/service/news/news.cpp | 25 | ||||
-rw-r--r-- | src/core/hle/service/news/news.h | 17 | ||||
-rw-r--r-- | src/core/hle/service/news/news_s.cpp | 32 | ||||
-rw-r--r-- | src/core/hle/service/news/news_s.h | 22 | ||||
-rw-r--r-- | src/core/hle/service/news/news_u.cpp | 19 | ||||
-rw-r--r-- | src/core/hle/service/news/news_u.h | 22 |
6 files changed, 0 insertions, 137 deletions
diff --git a/src/core/hle/service/news/news.cpp b/src/core/hle/service/news/news.cpp deleted file mode 100644 index 8b70ec45b..000000000 --- a/src/core/hle/service/news/news.cpp +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2015 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#include "common/logging/log.h" -#include "core/hle/service/news/news.h" -#include "core/hle/service/news/news_s.h" -#include "core/hle/service/news/news_u.h" -#include "core/hle/service/service.h" - -namespace Service { -namespace NEWS { - -void Init() { - using namespace Kernel; - - AddService(new NEWS_S_Interface); - AddService(new NEWS_U_Interface); -} - -void Shutdown() {} - -} // namespace NEWS - -} // namespace Service diff --git a/src/core/hle/service/news/news.h b/src/core/hle/service/news/news.h deleted file mode 100644 index 46a3ffcb5..000000000 --- a/src/core/hle/service/news/news.h +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2015 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -namespace Service { -namespace NEWS { - -/// Initialize NEWS service(s) -void Init(); - -/// Shutdown NEWS service(s) -void Shutdown(); - -} // namespace NEWS -} // namespace Service diff --git a/src/core/hle/service/news/news_s.cpp b/src/core/hle/service/news/news_s.cpp deleted file mode 100644 index dda3d0f6a..000000000 --- a/src/core/hle/service/news/news_s.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2015 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#include "core/hle/service/news/news.h" -#include "core/hle/service/news/news_s.h" - -namespace Service { -namespace NEWS { - -const Interface::FunctionInfo FunctionTable[] = { - {0x000100C6, nullptr, "AddNotification"}, - {0x00050000, nullptr, "GetTotalNotifications"}, - {0x00060042, nullptr, "SetNewsDBHeader"}, - {0x00070082, nullptr, "SetNotificationHeader"}, - {0x00080082, nullptr, "SetNotificationMessage"}, - {0x00090082, nullptr, "SetNotificationImage"}, - {0x000A0042, nullptr, "GetNewsDBHeader"}, - {0x000B0082, nullptr, "GetNotificationHeader"}, - {0x000C0082, nullptr, "GetNotificationMessage"}, - {0x000D0082, nullptr, "GetNotificationImage"}, - {0x000E0040, nullptr, "SetInfoLEDPattern"}, - {0x00120082, nullptr, "GetNotificationHeaderOther"}, - {0x00130000, nullptr, "WriteNewsDBSavedata"}, -}; - -NEWS_S_Interface::NEWS_S_Interface() { - Register(FunctionTable); -} - -} // namespace NEWS -} // namespace Service diff --git a/src/core/hle/service/news/news_s.h b/src/core/hle/service/news/news_s.h deleted file mode 100644 index f58b969a8..000000000 --- a/src/core/hle/service/news/news_s.h +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2015 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include "core/hle/service/service.h" - -namespace Service { -namespace NEWS { - -class NEWS_S_Interface : public Service::Interface { -public: - NEWS_S_Interface(); - - std::string GetPortName() const override { - return "news:s"; - } -}; - -} // namespace NEWS -} // namespace Service diff --git a/src/core/hle/service/news/news_u.cpp b/src/core/hle/service/news/news_u.cpp deleted file mode 100644 index a07e466de..000000000 --- a/src/core/hle/service/news/news_u.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2014 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#include "core/hle/service/news/news_u.h" - -namespace Service { -namespace NEWS { - -const Interface::FunctionInfo FunctionTable[] = { - {0x000100C6, nullptr, "AddNotification"}, -}; - -NEWS_U_Interface::NEWS_U_Interface() { - Register(FunctionTable); -} - -} // namespace NEWS -} // namespace Service diff --git a/src/core/hle/service/news/news_u.h b/src/core/hle/service/news/news_u.h deleted file mode 100644 index 2720053d0..000000000 --- a/src/core/hle/service/news/news_u.h +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2014 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include "core/hle/service/service.h" - -namespace Service { -namespace NEWS { - -class NEWS_U_Interface : public Service::Interface { -public: - NEWS_U_Interface(); - - std::string GetPortName() const override { - return "news:u"; - } -}; - -} // namespace NEWS -} // namespace Service |