From d2324c25bdc324fcc55262b786a8a8faf128b775 Mon Sep 17 00:00:00 2001 From: Maximilian Seidler Date: Thu, 27 Jun 2024 20:02:03 +0200 Subject: [PATCH] asyncResourceGatherer: don't create duplicate dma frames for a specific stringPort --- src/renderer/AsyncResourceGatherer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/renderer/AsyncResourceGatherer.cpp b/src/renderer/AsyncResourceGatherer.cpp index 465511c..cd3f1f1 100644 --- a/src/renderer/AsyncResourceGatherer.cpp +++ b/src/renderer/AsyncResourceGatherer.cpp @@ -74,6 +74,12 @@ void CAsyncResourceGatherer::recheckDMAFramesFor(COutput* output) { } } + for (auto& dma : dmas) { + if (dma->name == output->stringPort) { + shouldMake = false; + } + } + if (!shouldMake) return;