diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-21 15:48:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 15:48:15 +0100 |
commit | 4721ea4523c991c2a1bd28947b45e506bc988a8d (patch) | |
tree | 23906e74e5bacd975eb6b1046fc9b4ed6290d698 /src/core/hle/service/vi/vi_s.h | |
parent | Merge pull request #254 from bunnei/port-citra-renderer (diff) | |
parent | Service/vi: convert services to module (diff) | |
download | yuzu-4721ea4523c991c2a1bd28947b45e506bc988a8d.tar yuzu-4721ea4523c991c2a1bd28947b45e506bc988a8d.tar.gz yuzu-4721ea4523c991c2a1bd28947b45e506bc988a8d.tar.bz2 yuzu-4721ea4523c991c2a1bd28947b45e506bc988a8d.tar.lz yuzu-4721ea4523c991c2a1bd28947b45e506bc988a8d.tar.xz yuzu-4721ea4523c991c2a1bd28947b45e506bc988a8d.tar.zst yuzu-4721ea4523c991c2a1bd28947b45e506bc988a8d.zip |
Diffstat (limited to 'src/core/hle/service/vi/vi_s.h')
-rw-r--r-- | src/core/hle/service/vi/vi_s.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/core/hle/service/vi/vi_s.h b/src/core/hle/service/vi/vi_s.h index 6978fd700..7b32fdddc 100644 --- a/src/core/hle/service/vi/vi_s.h +++ b/src/core/hle/service/vi/vi_s.h @@ -4,25 +4,14 @@ #pragma once -#include <memory> -#include "core/hle/service/service.h" +#include "core/hle/service/vi/vi.h" namespace Service { -namespace NVFlinger { -class NVFlinger; -} - namespace VI { -class VI_S final : public ServiceFramework<VI_S> { +class VI_S final : public Module::Interface { public: - VI_S(std::shared_ptr<NVFlinger::NVFlinger> nv_flinger); - ~VI_S() = default; - -private: - void GetDisplayService(Kernel::HLERequestContext& ctx); - - std::shared_ptr<NVFlinger::NVFlinger> nv_flinger; + explicit VI_S(std::shared_ptr<Module> module, std::shared_ptr<NVFlinger::NVFlinger> nv_flinger); }; } // namespace VI |