From: Jay Freeman (saurik) Date: Sat, 2 Jun 2012 22:24:13 +0000 (+0000) Subject: Upgrade Veency to support the current MSHookSymbol. X-Git-Tag: v0.9.3379~2 X-Git-Url: https://git.saurik.com/veency.git/commitdiff_plain/a0f17fb983203d1d6ce82f9eb583f21fd2a50bc2?ds=inline Upgrade Veency to support the current MSHookSymbol. --- diff --git a/Tweak.mm b/Tweak.mm index 0b159f7..3b76f06 100644 --- a/Tweak.mm +++ b/Tweak.mm @@ -768,9 +768,9 @@ static void dlset(Type_ &function, const char *name) { MSInitialize { NSAutoreleasePool *pool([[NSAutoreleasePool alloc] init]); - MSHookSymbol(GSTakePurpleSystemEventPort, "GSGetPurpleSystemEventPort"); + MSHookSymbol(GSTakePurpleSystemEventPort, "_GSGetPurpleSystemEventPort"); if (GSTakePurpleSystemEventPort == NULL) { - MSHookSymbol(GSTakePurpleSystemEventPort, "GSCopyPurpleSystemEventPort"); + MSHookSymbol(GSTakePurpleSystemEventPort, "_GSCopyPurpleSystemEventPort"); PurpleAllocated = true; }