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/nim/nim.cpp | |
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/nim/nim.cpp')
-rw-r--r-- | src/core/hle/service/nim/nim.cpp | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/src/core/hle/service/nim/nim.cpp b/src/core/hle/service/nim/nim.cpp deleted file mode 100644 index b10d5852b..000000000 --- a/src/core/hle/service/nim/nim.cpp +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2015 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#include "common/common_types.h" -#include "common/logging/log.h" -#include "core/hle/ipc.h" -#include "core/hle/ipc_helpers.h" -#include "core/hle/kernel/event.h" -#include "core/hle/service/nim/nim.h" -#include "core/hle/service/nim/nim_aoc.h" -#include "core/hle/service/nim/nim_s.h" -#include "core/hle/service/nim/nim_u.h" -#include "core/hle/service/service.h" - -namespace Service { -namespace NIM { - -static Kernel::SharedPtr<Kernel::Event> nim_system_update_event; - -void CheckForSysUpdateEvent(Service::Interface* self) { - IPC::RequestParser rp(Kernel::GetCommandBuffer(), 0x5, 0, 0); // 0x50000 - IPC::RequestBuilder rb = rp.MakeBuilder(1, 2); - rb.Push(RESULT_SUCCESS); - rb.PushCopyHandles(Kernel::g_handle_table.Create(nim_system_update_event).Unwrap()); - LOG_TRACE(Service_NIM, "called"); -} - -void CheckSysUpdateAvailable(Service::Interface* self) { - u32* cmd_buff = Kernel::GetCommandBuffer(); - - cmd_buff[1] = RESULT_SUCCESS.raw; - cmd_buff[2] = 0; // No update available - - LOG_WARNING(Service_NIM, "(STUBBED) called"); -} - -void Init() { - using namespace Kernel; - - AddService(new NIM_AOC_Interface); - AddService(new NIM_S_Interface); - AddService(new NIM_U_Interface); - - nim_system_update_event = Kernel::Event::Create(ResetType::OneShot, "NIM System Update Event"); -} - -void Shutdown() { - nim_system_update_event = nullptr; -} - -} // namespace NIM - -} // namespace Service |