diff options
author | mailwl <mailwl@gmail.com> | 2018-06-05 11:19:29 +0200 |
---|---|---|
committer | mailwl <mailwl@gmail.com> | 2018-06-05 11:19:29 +0200 |
commit | 7e3d746b06d68a7fbadf5b94ef62cad38482c000 (patch) | |
tree | 0c8616b647938f063f4159b31e8d9cbdf333e855 /src/core/hle/service/mm/mm_u.h | |
parent | Merge pull request #518 from Subv/incomplete_shaders (diff) | |
download | yuzu-7e3d746b06d68a7fbadf5b94ef62cad38482c000.tar yuzu-7e3d746b06d68a7fbadf5b94ef62cad38482c000.tar.gz yuzu-7e3d746b06d68a7fbadf5b94ef62cad38482c000.tar.bz2 yuzu-7e3d746b06d68a7fbadf5b94ef62cad38482c000.tar.lz yuzu-7e3d746b06d68a7fbadf5b94ef62cad38482c000.tar.xz yuzu-7e3d746b06d68a7fbadf5b94ef62cad38482c000.tar.zst yuzu-7e3d746b06d68a7fbadf5b94ef62cad38482c000.zip |
Diffstat (limited to '')
-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..de3f3a311 --- /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 <vector> +#include "core/hle/kernel/kernel.h" +#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 value; +}; + +/// Registers all MM services with the specified service manager. +void InstallInterfaces(SM::ServiceManager& service_manager); + +} // namespace Service::MM |