From a769e896c6a261c8e5264d6475e1b10df66241f9 Mon Sep 17 00:00:00 2001 From: RadWolfie Date: Wed, 2 Feb 2022 17:51:10 -0600 Subject: [PATCH] hidden bug while debugging on xbox kernel thread's issue --- src/core/hle/D3D8/Direct3D9/Direct3D9.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/D3D8/Direct3D9/Direct3D9.cpp b/src/core/hle/D3D8/Direct3D9/Direct3D9.cpp index 128bc1723..cf502d96c 100644 --- a/src/core/hle/D3D8/Direct3D9/Direct3D9.cpp +++ b/src/core/hle/D3D8/Direct3D9/Direct3D9.cpp @@ -759,7 +759,7 @@ static void CxbxUpdateCursor(bool forceShow = false) { return; } - if (g_renderbase->IsImGuiFocus() || forceShow) { + if (g_renderbase && g_renderbase->IsImGuiFocus() || forceShow) { if (cursorInfo.flags == 0) { ShowCursor(TRUE); }