mirror of
https://gitea.tendokyu.moe/Hay1tsme/segatools.git
synced 2024-11-28 02:50:48 +01:00
rehook ShowCursor
This commit is contained in:
parent
434382ce4b
commit
94f9357382
@ -25,10 +25,10 @@ static const struct hook_symbol cursor_syms[] = {
|
|||||||
},*/ {
|
},*/ {
|
||||||
.name = "SetPhysicalCursorPos",
|
.name = "SetPhysicalCursorPos",
|
||||||
.patch = my_SetPhysicalCursorPos
|
.patch = my_SetPhysicalCursorPos
|
||||||
}, /*{
|
}, {
|
||||||
.name = "ShowCursor",
|
.name = "ShowCursor",
|
||||||
.patch = my_ShowCursor
|
.patch = my_ShowCursor
|
||||||
}*/
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
void cursor_hook_init()
|
void cursor_hook_init()
|
||||||
@ -56,13 +56,11 @@ static BOOL my_SetPhysicalCursorPos(int x, int y)
|
|||||||
|
|
||||||
static int my_ShowCursor(BOOL bShow)
|
static int my_ShowCursor(BOOL bShow)
|
||||||
{
|
{
|
||||||
dprintf("my_ShowCursor Hit!\n");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HCURSOR my_SetCursor(HCURSOR hCursor)
|
static HCURSOR my_SetCursor(HCURSOR hCursor)
|
||||||
{
|
{
|
||||||
dprintf("my_SetCursor Hit!\n");
|
|
||||||
HCURSOR fake_cursor;
|
HCURSOR fake_cursor;
|
||||||
|
|
||||||
if ( hCursor )
|
if ( hCursor )
|
||||||
|
Loading…
Reference in New Issue
Block a user