diff options
author | purpasmart96 <kanzoconfigz@hotmail.com> | 2015-06-12 00:12:16 +0200 |
---|---|---|
committer | purpasmart96 <kanzoconfigz@hotmail.com> | 2015-06-12 05:41:59 +0200 |
commit | 7933dbe6a0eee766a64b26f7d4461a40e473fcdc (patch) | |
tree | 91ae37d96b1e508f63055f285c64225811237b8a /src/core/hle/service/nim_u.cpp | |
parent | Merge pull request #848 from lioncash/ldm (diff) | |
download | yuzu-7933dbe6a0eee766a64b26f7d4461a40e473fcdc.tar yuzu-7933dbe6a0eee766a64b26f7d4461a40e473fcdc.tar.gz yuzu-7933dbe6a0eee766a64b26f7d4461a40e473fcdc.tar.bz2 yuzu-7933dbe6a0eee766a64b26f7d4461a40e473fcdc.tar.lz yuzu-7933dbe6a0eee766a64b26f7d4461a40e473fcdc.tar.xz yuzu-7933dbe6a0eee766a64b26f7d4461a40e473fcdc.tar.zst yuzu-7933dbe6a0eee766a64b26f7d4461a40e473fcdc.zip |
Diffstat (limited to 'src/core/hle/service/nim_u.cpp')
-rw-r--r-- | src/core/hle/service/nim_u.cpp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/core/hle/service/nim_u.cpp b/src/core/hle/service/nim_u.cpp deleted file mode 100644 index 5f13bd98e..000000000 --- a/src/core/hle/service/nim_u.cpp +++ /dev/null @@ -1,48 +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/hle.h" -#include "core/hle/service/nim_u.h" - -//////////////////////////////////////////////////////////////////////////////////////////////////// -// Namespace NIM_U - -namespace NIM_U { - -/** - * NIM_U::CheckSysUpdateAvailable service function - * Inputs: - * 1 : None - * Outputs: - * 1 : Result of function, 0 on success, otherwise error code - * 2 : flag, 0 = no system update available, 1 = system update available. - */ -static 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_NWM, "(STUBBED) called"); -} - -const Interface::FunctionInfo FunctionTable[] = { - {0x00010000, nullptr, "StartSysUpdate"}, - {0x00020000, nullptr, "GetUpdateDownloadProgress"}, - {0x00040000, nullptr, "FinishTitlesInstall"}, - {0x00050000, nullptr, "CheckForSysUpdateEvent"}, - {0x00090000, CheckSysUpdateAvailable, "CheckSysUpdateAvailable"}, - {0x000A0000, nullptr, "GetState"}, -}; - -//////////////////////////////////////////////////////////////////////////////////////////////////// -// Interface class - -Interface::Interface() { - Register(FunctionTable); -} - -} // namespace |