diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-11-05 19:15:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-05 19:15:19 +0100 |
commit | 511c1f0c8b688a14b53fb15bb47a1aff7d9622dd (patch) | |
tree | a094a6d8fd747a5fd87467f9cfe94cc659d9f342 /src/video_core | |
parent | Merge pull request #11969 from german77/profile (diff) | |
parent | renderer_null: fix (diff) | |
download | yuzu-511c1f0c8b688a14b53fb15bb47a1aff7d9622dd.tar yuzu-511c1f0c8b688a14b53fb15bb47a1aff7d9622dd.tar.gz yuzu-511c1f0c8b688a14b53fb15bb47a1aff7d9622dd.tar.bz2 yuzu-511c1f0c8b688a14b53fb15bb47a1aff7d9622dd.tar.lz yuzu-511c1f0c8b688a14b53fb15bb47a1aff7d9622dd.tar.xz yuzu-511c1f0c8b688a14b53fb15bb47a1aff7d9622dd.tar.zst yuzu-511c1f0c8b688a14b53fb15bb47a1aff7d9622dd.zip |
Diffstat (limited to 'src/video_core')
-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 |