🚑️ fix: missing check for draw cursor

This commit is contained in:
Helloyunho 2025-07-03 01:31:54 +09:00
parent 464da7bef7
commit 3814584a88
No known key found for this signature in database
GPG Key ID: 6AFA210B0150BE47

View File

@ -780,7 +780,7 @@ MxResult IsleApp::SetupWindow()
LegoOmni::GetInstance()->GetInputManager()->SetUseJoystick(m_useJoystick);
LegoOmni::GetInstance()->GetInputManager()->SetJoystickIndex(m_joystickIndex);
}
if (LegoOmni::GetInstance()->GetVideoManager()) {
if (LegoOmni::GetInstance()->GetVideoManager() && g_isle->GetDrawCursor()) {
LegoOmni::GetInstance()->GetVideoManager()->SetCursorBitmap(
m_cursorCurrentBitmap->bitmap,
m_cursorCurrentBitmap->x,