fix for HOMM4 cursor issues
This commit is contained in:
parent
6101e34ddd
commit
dfe15ec8b0
2 changed files with 6 additions and 1 deletions
4
src/dd.c
4
src/dd.c
|
@ -922,7 +922,9 @@ HRESULT dd_SetCooperativeLevel(HWND hwnd, DWORD dwFlags)
|
|||
if (!g_ddraw->devmode)
|
||||
{
|
||||
HCURSOR cursor = real_SetCursor(LoadCursor(NULL, IDC_ARROW));
|
||||
InterlockedExchange((LONG*)&g_ddraw->old_cursor, (LONG)cursor);
|
||||
|
||||
if (cursor != LoadCursor(NULL, IDC_WAIT))
|
||||
InterlockedExchange((LONG*)&g_ddraw->old_cursor, (LONG)cursor);
|
||||
}
|
||||
|
||||
int cursor_count = real_ShowCursor(TRUE) - 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue