fix windows compilation

This commit is contained in:
altalk23 2022-12-13 13:41:34 +03:00
parent c605c24f26
commit eeb4bea97a

View file

@ -40,8 +40,10 @@ static CCEGLView* CCEGLView_CCEGLView(CCEGLView* self) {
}
$execute {
(void)Mod::get()->addHook<&CCEGLView_CCEGLView, Thiscall>(
"CCEGLView::CCEGLView", CCEGLVIEW_CON_ADDR
(void)Mod::get()->addHook<tulip::hook::ThiscallConvention>(
CCEGLVIEW_CON_ADDR,
&CCEGLView_CCEGLView,
"CCEGLView::CCEGLView",
);
}