add dinput curspr hack
This commit is contained in:
parent
2ee62a4674
commit
2e6dcb2906
3 changed files with 5 additions and 1 deletions
|
@ -40,7 +40,7 @@ static HRESULT WINAPI fake_did_SetCooperativeLevel(IDirectInputDeviceA* This, HW
|
|||
{
|
||||
TRACE("DirectInput SetCooperativeLevel(This=%p, hwnd=%p, dwFlags=0x%08X)\n", This, hwnd, dwFlags);
|
||||
|
||||
if (This == g_mouse_device && g_ddraw && (dwFlags & DISCL_EXCLUSIVE))
|
||||
if (This == g_mouse_device && g_ddraw && (dwFlags & DISCL_EXCLUSIVE) && !g_ddraw->dinput_show_cursor)
|
||||
{
|
||||
if (g_mouse_locked || g_ddraw->devmode)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue