From 60ae4c1121f7f4b7b3429dd1a924135d0dfb3c3f Mon Sep 17 00:00:00 2001 From: kd-11 Date: Wed, 23 Oct 2024 19:34:20 +0300 Subject: [PATCH] rsx: Fix crash when host labels option is disabled --- rpcs3/Emu/RSX/RSXThread.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/RSXThread.cpp b/rpcs3/Emu/RSX/RSXThread.cpp index 1225c7f2f2..fb3a1e2975 100644 --- a/rpcs3/Emu/RSX/RSXThread.cpp +++ b/rpcs3/Emu/RSX/RSXThread.cpp @@ -1165,7 +1165,11 @@ namespace rsx // Update other sub-units zcull_ctrl->update(this); - m_host_dma_ctrl->update(); + + if (m_host_dma_ctrl) + { + m_host_dma_ctrl->update(); + } } // Execute FIFO queue