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); }