@@ -146,11 +146,11 @@ #if defined(OF_WII) || defined(OF_PSP) || defined(OF_NINTENDO_DS) || \ defined(OF_NINTENDO_3DS) @try { return of_application_main(&argc, &argv, - [TestsAppDelegate class]); + [[TestsAppDelegate alloc] init]); } @catch (id e) { TestsAppDelegate *delegate = [[OFApplication sharedApplication] delegate]; OFString *string = [OFString stringWithFormat: @"\nRuntime error: Unhandled exception:\n%@\n", e]; @@ -198,11 +198,12 @@ # else abort(); # endif } #else - return of_application_main(&argc, &argv, [TestsAppDelegate class]); + return of_application_main(&argc, &argv, + [[TestsAppDelegate alloc] init]); #endif } @implementation TestsAppDelegate - (void)outputString: (OFString *)str