X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=main.m;h=cc9de3e33d7fff367a1f8045b2817578f3146d8f;hb=refs%2Fheads%2Fyishen;hp=1f51be2b655acd9275acfa5cce25776abdbd739f;hpb=556707a7a26ac2dc4d10eff8e4b2abcc893cfce3;p=chaz%2Fthecheat diff --git a/main.m b/main.m index 1f51be2..cc9de3e 100644 --- a/main.m +++ b/main.m @@ -1,9 +1,9 @@ /* * The Cheat - The legendary universal game trainer for Mac OS X. - * http://www.dogcows.com/chaz/wiki/TheCheat + * http://www.brokenzipper.com/trac/wiki/TheCheat * - * Copyright (c) 2003-2010, Charles McGarvey et al. + * Copyright (c) 2003-2011, Charles McGarvey et al. * * Distributable under the terms and conditions of the 2-clause BSD * license; see the file COPYING for the legal text of the license. @@ -106,18 +106,7 @@ int main( int argc, char *argv[] ) ChazDebugSetup(); ChazMapLogToDebug(); - -#ifdef __ppc__ - // PPC machines whose operating system is below leopard do not need authorization - SInt32 osxMajorVersion; - Gestalt(gestaltSystemVersionMinor, &osxMajorVersion); - if (osxMajorVersion < 5) - { - [pool release]; - return NSApplicationMain(argc, (const char **) argv); - } -#endif - + if (amIWorthy()) { #ifndef _DEBUG