rehook ShowCursor

This commit is contained in:
Hay1tsme 2024-04-07 17:55:55 -04:00
parent 434382ce4b
commit 94f9357382

View File

@ -25,10 +25,10 @@ static const struct hook_symbol cursor_syms[] = {
},*/ {
.name = "SetPhysicalCursorPos",
.patch = my_SetPhysicalCursorPos
}, /*{
}, {
.name = "ShowCursor",
.patch = my_ShowCursor
}*/
}
};
void cursor_hook_init()
@ -56,13 +56,11 @@ static BOOL my_SetPhysicalCursorPos(int x, int y)
static int my_ShowCursor(BOOL bShow)
{
dprintf("my_ShowCursor Hit!\n");
return 0;
}
static HCURSOR my_SetCursor(HCURSOR hCursor)
{
dprintf("my_SetCursor Hit!\n");
HCURSOR fake_cursor;
if ( hCursor )