mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 23:48:08 -05:00
fix windows compilation
This commit is contained in:
parent
c605c24f26
commit
eeb4bea97a
1 changed files with 4 additions and 2 deletions
|
@ -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",
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue