aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/control/channel_state_cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/control/channel_state_cache.cpp')
-rw-r--r--src/video_core/control/channel_state_cache.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/video_core/control/channel_state_cache.cpp b/src/video_core/control/channel_state_cache.cpp
index f8c6a762d2..bd794d939a 100644
--- a/src/video_core/control/channel_state_cache.cpp
+++ b/src/video_core/control/channel_state_cache.cpp
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
@@ -6,8 +9,11 @@
namespace VideoCommon {
ChannelInfo::ChannelInfo(Tegra::Control::ChannelState& channel_state)
- : maxwell3d{*channel_state.maxwell_3d}, kepler_compute{*channel_state.kepler_compute},
- gpu_memory{*channel_state.memory_manager}, program_id{channel_state.program_id} {}
+ : maxwell3d{channel_state.payload->maxwell_3d}
+ , kepler_compute{channel_state.payload->kepler_compute}
+ , gpu_memory{*channel_state.memory_manager}
+ , program_id{channel_state.program_id}
+ {}
template class VideoCommon::ChannelSetupCaches<VideoCommon::ChannelInfo>;