diff options
author | Liam <byteslice@airmail.cc> | 2024-02-24 04:38:21 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-26 17:16:14 +0100 |
commit | d66ca8b73145c9e891415f11ce68125ff2b99b9b (patch) | |
tree | 70c4d8b3e8aa80222940fe6e490d62bf42bc0443 /src/video_core/control/channel_state.cpp | |
parent | Merge pull request #13164 from merryhime/reset-submodules (diff) | |
download | yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.tar yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.tar.gz yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.tar.bz2 yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.tar.lz yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.tar.xz yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.tar.zst yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/control/channel_state.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/control/channel_state.cpp b/src/video_core/control/channel_state.cpp index 832025d75..2539997d5 100644 --- a/src/video_core/control/channel_state.cpp +++ b/src/video_core/control/channel_state.cpp @@ -16,8 +16,9 @@ namespace Tegra::Control { ChannelState::ChannelState(s32 bind_id_) : bind_id{bind_id_}, initialized{} {} -void ChannelState::Init(Core::System& system, GPU& gpu) { +void ChannelState::Init(Core::System& system, GPU& gpu, u64 program_id_) { ASSERT(memory_manager); + program_id = program_id_; dma_pusher = std::make_unique<Tegra::DmaPusher>(system, gpu, *memory_manager, *this); maxwell_3d = std::make_unique<Engines::Maxwell3D>(system, *memory_manager); fermi_2d = std::make_unique<Engines::Fermi2D>(*memory_manager); |