fix saved cursor pos

This commit is contained in:
FunkyFr3sh 2021-06-17 06:13:16 +02:00
parent 570d7f11bb
commit 5700a0eb4c
5 changed files with 72 additions and 42 deletions

View file

@ -104,7 +104,7 @@ static HRESULT WINAPI fake_di_CreateDevice(
while (real_ShowCursor(FALSE) >= 0);
}
InterlockedExchange(&g_ddraw->show_cursor_count, -1);
InterlockedExchange((LONG*)&g_ddraw->show_cursor_count, -1);
}
real_did_SetCooperativeLevel =