aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaranBr <maranbr@outlook.com>2026-05-24 01:02:19 +0200
committercrueter <crueter@eden-emu.dev>2026-05-24 01:02:19 +0200
commit06c8926a2ec5d40a31d2c9c4692afee80fedddf3 (patch)
tree388d4d9bcf254fd954d9aeafb544e65602f4a412 /src
parenteabd1017ccec18eadfa3f05971d09a1fb4c77097 (diff)
[video_core] Fix initial DMA sync deadlock in OpenGL by initializing synced state (#3987)
This fixes a deadlock issue that prevents any game using OpenGL + GPU Accurate from booting when Sync Memory Operations is enabled. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3987 Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src')
-rw-r--r--src/video_core/dma_pusher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/dma_pusher.cpp b/src/video_core/dma_pusher.cpp
index 3844a8e2f9..f98e20171a 100644
--- a/src/video_core/dma_pusher.cpp
+++ b/src/video_core/dma_pusher.cpp
@@ -1,4 +1,4 @@
-// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
+// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
@@ -26,7 +26,7 @@ constexpr u32 MacroRegistersStart = 0xE00;
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_,
- *this, channel_state_}, signal_sync{false}, synced{false} {}
+ *this, channel_state_}, signal_sync{false}, synced{true} {}
DmaPusher::~DmaPusher() = default;