diff options
author | JamePeng <jame_peng@sina.com> | 2016-02-14 12:53:32 +0100 |
---|---|---|
committer | JamePeng <jame_peng@sina.com> | 2016-03-14 17:42:47 +0100 |
commit | dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23 (patch) | |
tree | 091058af51d0edc57650bd72b2dca54b0703fde2 /src/core/hle/service/ndm/ndm.cpp | |
parent | Merge pull request #1509 from lioncash/noncopy (diff) | |
download | yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.tar yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.tar.gz yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.tar.bz2 yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.tar.lz yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.tar.xz yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.tar.zst yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/ndm/ndm.cpp | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/core/hle/service/ndm/ndm.cpp b/src/core/hle/service/ndm/ndm.cpp new file mode 100644 index 000000000..47076a7b8 --- /dev/null +++ b/src/core/hle/service/ndm/ndm.cpp @@ -0,0 +1,47 @@ +// Copyright 2016 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/service/service.h" +#include "core/hle/service/ndm/ndm.h" +#include "core/hle/service/ndm/ndm_u.h" + +namespace Service { +namespace NDM { + +void SuspendDaemons(Service::Interface* self) { + u32* cmd_buff = Kernel::GetCommandBuffer(); + + LOG_WARNING(Service_NDM, "(STUBBED) bit_mask=0x%08X ", cmd_buff[1]); + + cmd_buff[1] = RESULT_SUCCESS.raw; // No error +} + +void ResumeDaemons(Service::Interface* self) { + u32* cmd_buff = Kernel::GetCommandBuffer(); + + LOG_WARNING(Service_NDM, "(STUBBED) bit_mask=0x%08X ", cmd_buff[1]); + + cmd_buff[1] = RESULT_SUCCESS.raw; // No error +} + +void OverrideDefaultDaemons(Service::Interface* self) { + u32* cmd_buff = Kernel::GetCommandBuffer(); + + LOG_WARNING(Service_NDM, "(STUBBED) bit_mask=0x%08X ", cmd_buff[1]); + + cmd_buff[1] = RESULT_SUCCESS.raw; // No error +} + +void Init() { + AddService(new NDM_U_Interface); +} + +void Shutdown() { + +} + +}// namespace NDM +}// namespace Service |