summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/layer_list.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-19 15:47:19 +0100
committerLiam <byteslice@airmail.cc>2024-02-20 05:59:35 +0100
commit9f159dd62cbb1a4efe9c5cd724a94caf8c885793 (patch)
tree3b419db99ff18b0e7ea58789fd4767d888f3da58 /src/core/hle/service/vi/layer_list.h
parentImport keys from filesystem. (#13056) (diff)
downloadyuzu-9f159dd62cbb1a4efe9c5cd724a94caf8c885793.tar
yuzu-9f159dd62cbb1a4efe9c5cd724a94caf8c885793.tar.gz
yuzu-9f159dd62cbb1a4efe9c5cd724a94caf8c885793.tar.bz2
yuzu-9f159dd62cbb1a4efe9c5cd724a94caf8c885793.tar.lz
yuzu-9f159dd62cbb1a4efe9c5cd724a94caf8c885793.tar.xz
yuzu-9f159dd62cbb1a4efe9c5cd724a94caf8c885793.tar.zst
yuzu-9f159dd62cbb1a4efe9c5cd724a94caf8c885793.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/vi/layer_list.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/layer_list.h b/src/core/hle/service/vi/layer_list.h
index 1738ede9a..4afca6f40 100644
--- a/src/core/hle/service/vi/layer_list.h
+++ b/src/core/hle/service/vi/layer_list.h
@@ -11,13 +11,15 @@ class LayerList {
public:
constexpr LayerList() = default;
- Layer* CreateLayer(u64 owner_aruid, Display* display) {
+ Layer* CreateLayer(u64 owner_aruid, Display* display, s32 consumer_binder_id,
+ s32 producer_binder_id) {
Layer* const layer = GetFreeLayer();
if (!layer) {
return nullptr;
}
- layer->Initialize(++m_next_id, owner_aruid, display);
+ layer->Initialize(++m_next_id, owner_aruid, display, consumer_binder_id,
+ producer_binder_id);
return layer;
}