diff options
author | bunnei <bunneidev@gmail.com> | 2019-03-13 15:01:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-13 15:01:54 +0100 |
commit | e8a21f52769ceef8aefdd06c54ca7026ab1a3d9a (patch) | |
tree | 67ae631eb4c09c0b7ebc2496b2a55adadcd33f22 /src/core/hle/service/vi/vi_s.h | |
parent | Merge pull request #2231 from ReinUsesLisp/fixup-bias (diff) | |
parent | service/vi: Unstub GetDisplayService (diff) | |
download | yuzu-e8a21f52769ceef8aefdd06c54ca7026ab1a3d9a.tar yuzu-e8a21f52769ceef8aefdd06c54ca7026ab1a3d9a.tar.gz yuzu-e8a21f52769ceef8aefdd06c54ca7026ab1a3d9a.tar.bz2 yuzu-e8a21f52769ceef8aefdd06c54ca7026ab1a3d9a.tar.lz yuzu-e8a21f52769ceef8aefdd06c54ca7026ab1a3d9a.tar.xz yuzu-e8a21f52769ceef8aefdd06c54ca7026ab1a3d9a.tar.zst yuzu-e8a21f52769ceef8aefdd06c54ca7026ab1a3d9a.zip |
Diffstat (limited to 'src/core/hle/service/vi/vi_s.h')
-rw-r--r-- | src/core/hle/service/vi/vi_s.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/core/hle/service/vi/vi_s.h b/src/core/hle/service/vi/vi_s.h index bbc31148f..47804dc0b 100644 --- a/src/core/hle/service/vi/vi_s.h +++ b/src/core/hle/service/vi/vi_s.h @@ -4,14 +4,27 @@ #pragma once -#include "core/hle/service/vi/vi.h" +#include "core/hle/service/service.h" + +namespace Kernel { +class HLERequestContext; +} + +namespace Service::NVFlinger { +class NVFlinger; +} namespace Service::VI { -class VI_S final : public Module::Interface { +class VI_S final : public ServiceFramework<VI_S> { public: - explicit VI_S(std::shared_ptr<Module> module, std::shared_ptr<NVFlinger::NVFlinger> nv_flinger); + explicit VI_S(std::shared_ptr<NVFlinger::NVFlinger> nv_flinger); ~VI_S() override; + +private: + void GetDisplayService(Kernel::HLERequestContext& ctx); + + std::shared_ptr<NVFlinger::NVFlinger> nv_flinger; }; } // namespace Service::VI |