From cb4da1617c9ec76c1cbdf73e9b6c2cb1abcd2d5a Mon Sep 17 00:00:00 2001 From: MaranBr Date: Fri, 15 Aug 2025 21:06:45 -0400 Subject: [PATCH] Restore deleted code by mistake --- src/video_core/dma_pusher.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/video_core/dma_pusher.cpp b/src/video_core/dma_pusher.cpp index 27d14e1de7..4f9459ace6 100644 --- a/src/video_core/dma_pusher.cpp +++ b/src/video_core/dma_pusher.cpp @@ -18,6 +18,13 @@ namespace Tegra { constexpr u32 MacroRegistersStart = 0xE00; constexpr u32 ComputeInline = 0x6D; +//start on PR#76 of Eden this is a unused variable in android (need to investigate) + +// Dummy function that uses ComputeInline +constexpr void UseComputeInline() { + static_cast(ComputeInline); // Suppress unused variable error +} + DmaPusher::DmaPusher(Core::System& system_, GPU& gpu_, MemoryManager& memory_manager_, Control::ChannelState& channel_state_) : gpu{gpu_}, system{system_}, memory_manager{memory_manager_}, puller{gpu_, memory_manager_,