forked from Hay1tsme/segatools
rehook ShowCursor
This commit is contained in:
parent
434382ce4b
commit
94f9357382
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user