diff options
author | bunnei <bunneidev@gmail.com> | 2018-06-07 08:00:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 08:00:04 +0200 |
commit | ee1eb8cfdfa5502f2e27ecaab4e37d1e59eee3c5 (patch) | |
tree | 014ec98abac52d8a6e6ed61b93a795bf8699edc3 /src/core/hle/service/mm/mm_u.h | |
parent | Merge pull request #542 from bunnei/bfe_imm (diff) | |
parent | Remove unused header files (diff) | |
download | yuzu-ee1eb8cfdfa5502f2e27ecaab4e37d1e59eee3c5.tar yuzu-ee1eb8cfdfa5502f2e27ecaab4e37d1e59eee3c5.tar.gz yuzu-ee1eb8cfdfa5502f2e27ecaab4e37d1e59eee3c5.tar.bz2 yuzu-ee1eb8cfdfa5502f2e27ecaab4e37d1e59eee3c5.tar.lz yuzu-ee1eb8cfdfa5502f2e27ecaab4e37d1e59eee3c5.tar.xz yuzu-ee1eb8cfdfa5502f2e27ecaab4e37d1e59eee3c5.tar.zst yuzu-ee1eb8cfdfa5502f2e27ecaab4e37d1e59eee3c5.zip |
Diffstat (limited to 'src/core/hle/service/mm/mm_u.h')
-rw-r--r-- | src/core/hle/service/mm/mm_u.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/core/hle/service/mm/mm_u.h b/src/core/hle/service/mm/mm_u.h new file mode 100644 index 000000000..79eeedf9c --- /dev/null +++ b/src/core/hle/service/mm/mm_u.h @@ -0,0 +1,29 @@ +// Copyright 2018 yuzu emulator team +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "core/hle/service/service.h" + +namespace Service::MM { + +class MM_U final : public ServiceFramework<MM_U> { +public: + MM_U(); + ~MM_U() = default; + +private: + void Initialize(Kernel::HLERequestContext& ctx); + void SetAndWait(Kernel::HLERequestContext& ctx); + void Get(Kernel::HLERequestContext& ctx); + + u32 min{0}; + u32 max{0}; + u32 current{0}; +}; + +/// Registers all MM services with the specified service manager. +void InstallInterfaces(SM::ServiceManager& service_manager); + +} // namespace Service::MM |