From a0f17fb983203d1d6ce82f9eb583f21fd2a50bc2 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 2 Jun 2012 22:24:13 +0000 Subject: [PATCH] Upgrade Veency to support the current MSHookSymbol. --- Tweak.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.50.0