diff options
author | Liam <byteslice@airmail.cc> | 2023-11-04 01:54:38 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-11-04 01:54:38 +0100 |
commit | 75de0cadcfaa483393a832fc804d80382f61d885 (patch) | |
tree | 181ebabb26b0db9d1d85f8d1c37503804701168a /src/video_core/renderer_null/null_rasterizer.cpp | |
parent | Merge pull request #11953 from t895/surface-tweak (diff) | |
download | yuzu-75de0cadcfaa483393a832fc804d80382f61d885.tar yuzu-75de0cadcfaa483393a832fc804d80382f61d885.tar.gz yuzu-75de0cadcfaa483393a832fc804d80382f61d885.tar.bz2 yuzu-75de0cadcfaa483393a832fc804d80382f61d885.tar.lz yuzu-75de0cadcfaa483393a832fc804d80382f61d885.tar.xz yuzu-75de0cadcfaa483393a832fc804d80382f61d885.tar.zst yuzu-75de0cadcfaa483393a832fc804d80382f61d885.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_null/null_rasterizer.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/video_core/renderer_null/null_rasterizer.cpp b/src/video_core/renderer_null/null_rasterizer.cpp index 65cd5aa06..4f1d5b548 100644 --- a/src/video_core/renderer_null/null_rasterizer.cpp +++ b/src/video_core/renderer_null/null_rasterizer.cpp @@ -3,6 +3,7 @@ #include "common/alignment.h" #include "core/memory.h" +#include "video_core/control/channel_state.h" #include "video_core/host1x/host1x.h" #include "video_core/memory_manager.h" #include "video_core/renderer_null/null_rasterizer.h" @@ -99,8 +100,14 @@ bool RasterizerNull::AccelerateDisplay(const Tegra::FramebufferConfig& config, } void RasterizerNull::LoadDiskResources(u64 title_id, std::stop_token stop_loading, const VideoCore::DiskResourceLoadCallback& callback) {} -void RasterizerNull::InitializeChannel(Tegra::Control::ChannelState& channel) {} -void RasterizerNull::BindChannel(Tegra::Control::ChannelState& channel) {} -void RasterizerNull::ReleaseChannel(s32 channel_id) {} +void RasterizerNull::InitializeChannel(Tegra::Control::ChannelState& channel) { + CreateChannel(channel); +} +void RasterizerNull::BindChannel(Tegra::Control::ChannelState& channel) { + BindToChannel(channel.bind_id); +} +void RasterizerNull::ReleaseChannel(s32 channel_id) { + EraseChannel(channel_id); +} } // namespace Null |