mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-09-05 19:28:58 +00:00
Some more 10.4 fixes by Kirk Kerekes
This commit is contained in:
parent
5f7021a179
commit
110318fb69
@ -131,7 +131,7 @@ extern string UserPrefsPath; // from prefs_unix.cpp
|
|||||||
edited = NO;
|
edited = NO;
|
||||||
|
|
||||||
devs = @"/dev";
|
devs = @"/dev";
|
||||||
home = NSHomeDirectory();
|
home = [NSHomeDirectory() retain];
|
||||||
volsDS = [TableDS new];
|
volsDS = [TableDS new];
|
||||||
SCSIds = [TableDS new];
|
SCSIds = [TableDS new];
|
||||||
|
|
||||||
@ -140,10 +140,9 @@ extern string UserPrefsPath; // from prefs_unix.cpp
|
|||||||
NSLog (@"%s - Can't create NSImageCell?", __PRETTY_FUNCTION__);
|
NSLog (@"%s - Can't create NSImageCell?", __PRETTY_FUNCTION__);
|
||||||
|
|
||||||
blank = [NSImage new];
|
blank = [NSImage new];
|
||||||
locked = [NSImage alloc];
|
locked = [[NSImage alloc] initWithContentsOfFile:
|
||||||
if ( [locked initWithContentsOfFile:
|
[[NSBundle mainBundle] pathForImageResource: @"nowrite.icns"]];
|
||||||
[[NSBundle mainBundle]
|
if (locked == nil )
|
||||||
pathForImageResource: @"nowrite.icns"]] == nil )
|
|
||||||
NSLog(@"%s - Couldn't open write protection image", __PRETTY_FUNCTION__);
|
NSLog(@"%s - Couldn't open write protection image", __PRETTY_FUNCTION__);
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
@ -151,11 +150,11 @@ extern string UserPrefsPath; // from prefs_unix.cpp
|
|||||||
|
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
[volsDS dealloc];
|
[volsDS release];
|
||||||
[SCSIds dealloc];
|
[SCSIds release];
|
||||||
[lockCell dealloc];
|
[lockCell release];
|
||||||
[locked dealloc];
|
[blank release];
|
||||||
[blank dealloc];
|
[locked release];
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user