diff options
author | Lioncash <mathew1800@gmail.com> | 2019-02-26 23:20:02 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-02-26 23:44:03 +0100 |
commit | 1b2872eebc84ef3b35f8c0456ccb22519059d66a (patch) | |
tree | 19cbafdc2bc8f30d4a64097cb93b4a8f8882fc95 /src/core/hle/service/vi/vi_s.h | |
parent | Merge pull request #2118 from FernandoS27/ipa-improve (diff) | |
download | yuzu-1b2872eebc84ef3b35f8c0456ccb22519059d66a.tar yuzu-1b2872eebc84ef3b35f8c0456ccb22519059d66a.tar.gz yuzu-1b2872eebc84ef3b35f8c0456ccb22519059d66a.tar.bz2 yuzu-1b2872eebc84ef3b35f8c0456ccb22519059d66a.tar.lz yuzu-1b2872eebc84ef3b35f8c0456ccb22519059d66a.tar.xz yuzu-1b2872eebc84ef3b35f8c0456ccb22519059d66a.tar.zst yuzu-1b2872eebc84ef3b35f8c0456ccb22519059d66a.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 |