summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/system_display_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/vi/system_display_service.h')
-rw-r--r--src/core/hle/service/vi/system_display_service.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/hle/service/vi/system_display_service.h b/src/core/hle/service/vi/system_display_service.h
index cfcb196fd..6c3f57ad7 100644
--- a/src/core/hle/service/vi/system_display_service.h
+++ b/src/core/hle/service/vi/system_display_service.h
@@ -7,14 +7,16 @@
#include "core/hle/service/service.h"
namespace Service::Nvnflinger {
+class Nvnflinger;
struct SharedMemoryPoolLayout;
-}
+} // namespace Service::Nvnflinger
namespace Service::VI {
class ISystemDisplayService final : public ServiceFramework<ISystemDisplayService> {
public:
- explicit ISystemDisplayService(Core::System& system_, Nvnflinger::Nvnflinger& nvnflinger);
+ explicit ISystemDisplayService(Core::System& system_,
+ std::shared_ptr<Nvnflinger::Nvnflinger> surface_flinger);
~ISystemDisplayService() override;
private:
@@ -39,7 +41,7 @@ private:
s64 surface_id);
private:
- Nvnflinger::Nvnflinger& m_nvnflinger;
+ const std::shared_ptr<Nvnflinger::Nvnflinger> m_surface_flinger;
};
} // namespace Service::VI