From 23752a2cd2cfa6e42d5a47fbb253ede77848743f Mon Sep 17 00:00:00 2001 From: dhewg Date: Tue, 3 Jan 2012 18:46:40 +0100 Subject: [PATCH] Get rid of applicationDidFinishLaunching() SDL already implements this for us and the assert()s are already part of idlib. --- neo/sys/osx/DOOMController.mm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/neo/sys/osx/DOOMController.mm b/neo/sys/osx/DOOMController.mm index 0781fa46..8ceb3ea5 100644 --- a/neo/sys/osx/DOOMController.mm +++ b/neo/sys/osx/DOOMController.mm @@ -81,17 +81,6 @@ FPU_EXCEPTION_DIVIDE_BY_ZERO | \ #define MAX_ARGC 1024 -- (void)applicationDidFinishLaunching:(NSNotification *)notification; -{ - NS_DURING { - NSAssert(sizeof(bool) == 1, @"sizeof(bool) should equal 1 byte"); - [self quakeMain]; - } NS_HANDLER { - Sys_Error( (const char *)[ [ localException reason ] cString ] ); - } NS_ENDHANDLER; - Sys_Quit(); -} - - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender { common->Quit();