diff --git a/desmume/src/frontend/cocoa/cocoa_cheat.mm b/desmume/src/frontend/cocoa/cocoa_cheat.mm index c6475b2e6..a5c7e47b5 100644 --- a/desmume/src/frontend/cocoa/cocoa_cheat.mm +++ b/desmume/src/frontend/cocoa/cocoa_cheat.mm @@ -1,6 +1,6 @@ /* Copyright (C) 2011 Roger Manuel - Copyright (C) 2012-2017 DeSmuME team + Copyright (C) 2012-2018 DeSmuME team This file is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -48,7 +48,7 @@ static NSImage *iconCodeBreaker = nil; @synthesize workingCopy; @synthesize parent; -- (id) init +- (id)init { return [self initWithCheatData:nil]; } diff --git a/desmume/src/frontend/cocoa/cocoa_output.h b/desmume/src/frontend/cocoa/cocoa_output.h index 600552e90..1556fe00b 100644 --- a/desmume/src/frontend/cocoa/cocoa_output.h +++ b/desmume/src/frontend/cocoa/cocoa_output.h @@ -72,9 +72,7 @@ @property (assign) NSUInteger bufferSize; -- (id) init; - (id) initWithVolume:(CGFloat)vol; -- (void) dealloc; - (void) setVolume:(float)vol; - (float) volume; diff --git a/desmume/src/frontend/cocoa/cocoa_output.mm b/desmume/src/frontend/cocoa/cocoa_output.mm index cfa5ba0d3..e4544c1f4 100644 --- a/desmume/src/frontend/cocoa/cocoa_output.mm +++ b/desmume/src/frontend/cocoa/cocoa_output.mm @@ -210,11 +210,6 @@ return self; } -- (void)dealloc -{ - [super dealloc]; -} - - (void) setIdle:(BOOL)theState { if (theState) @@ -509,11 +504,6 @@ return self; } -- (void)dealloc -{ - [super dealloc]; -} - - (void) handleSignalMessageID:(int32_t)messageID { switch (messageID) @@ -608,11 +598,6 @@ return self; } -- (void)dealloc -{ - [super dealloc]; -} - - (void) commitPresenterProperties:(const ClientDisplayPresenterProperties &)viewProps { OSSpinLockLock(&spinlockViewProperties); diff --git a/desmume/src/frontend/cocoa/cocoa_slot2.mm b/desmume/src/frontend/cocoa/cocoa_slot2.mm index 1b07ef3db..c13219e87 100644 --- a/desmume/src/frontend/cocoa/cocoa_slot2.mm +++ b/desmume/src/frontend/cocoa/cocoa_slot2.mm @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2015 DeSmuME Team + Copyright (C) 2014-2018 DeSmuME Team This file is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -43,11 +43,6 @@ return self; } -- (void) dealloc -{ - [super dealloc]; -} - - (NSString *) name { const char *cDeviceName = device->info()->name(); @@ -88,7 +83,7 @@ @dynamic gbaSRamURL; @dynamic doesGbaCartridgeSaveExist; -- (id) init +- (id)init { self = [super init]; if (self == nil) diff --git a/desmume/src/frontend/cocoa/userinterface/EmuControllerDelegate.mm b/desmume/src/frontend/cocoa/userinterface/EmuControllerDelegate.mm index b56287bc0..47277487a 100644 --- a/desmume/src/frontend/cocoa/userinterface/EmuControllerDelegate.mm +++ b/desmume/src/frontend/cocoa/userinterface/EmuControllerDelegate.mm @@ -97,7 +97,7 @@ @synthesize windowList; --(id)init +- (id)init { self = [super init]; if(self == nil) diff --git a/desmume/src/frontend/cocoa/userinterface/InputProfileController.mm b/desmume/src/frontend/cocoa/userinterface/InputProfileController.mm index 3930a538b..1a0e6214f 100644 --- a/desmume/src/frontend/cocoa/userinterface/InputProfileController.mm +++ b/desmume/src/frontend/cocoa/userinterface/InputProfileController.mm @@ -1,5 +1,5 @@ /* - Copyright (C) 2013 DeSmuME team + Copyright (C) 2013-2018 DeSmuME team This file is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,11 +36,6 @@ return self; } -- (void)dealloc -{ - [super dealloc]; -} - - (NSString *) commandTagFromInputList:(NSArray *)inputList { NSDictionary *mappings = [(NSDictionary *)[self content] valueForKey:@"Mappings"]; diff --git a/desmume/src/frontend/cocoa/userinterface/troubleshootingWindowDelegate.mm b/desmume/src/frontend/cocoa/userinterface/troubleshootingWindowDelegate.mm index 1c48fefd8..a64a8f17b 100644 --- a/desmume/src/frontend/cocoa/userinterface/troubleshootingWindowDelegate.mm +++ b/desmume/src/frontend/cocoa/userinterface/troubleshootingWindowDelegate.mm @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2017 DeSmuME team + Copyright (C) 2012-2018 DeSmuME team This file is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -57,11 +57,6 @@ return self; } -- (void)dealloc -{ - [super dealloc]; -} - - (IBAction) copyRomInfoToTextFields:(id)sender { NSMutableDictionary *romInfoBindings = (NSMutableDictionary *)[romInfoController content];