summaryrefslogtreecommitdiff
path: root/macosx/PcsxrPluginHandler.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-11-16 06:29:34 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-11-16 06:29:34 +0000
commitc9289d55f08d262bfa5495de16b3b17c05a14741 (patch)
treec818580112aa75cbf6b5a245f6568d5c9fc4fc81 /macosx/PcsxrPluginHandler.m
parent045b73220d0b80b3e911f4dd146a2097b6d2375d (diff)
downloadpcsxr-c9289d55f08d262bfa5495de16b3b17c05a14741.tar.gz
OS X:
Fixing a few bugs. Get rid of a few deprecated notices. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87842 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrPluginHandler.m')
-rwxr-xr-xmacosx/PcsxrPluginHandler.m8
1 files changed, 5 insertions, 3 deletions
diff --git a/macosx/PcsxrPluginHandler.m b/macosx/PcsxrPluginHandler.m
index b10d47b3..2c80cf91 100755
--- a/macosx/PcsxrPluginHandler.m
+++ b/macosx/PcsxrPluginHandler.m
@@ -30,6 +30,11 @@
return self;
}
+- (NSString*)windowNibName
+{
+ return @"AddPluginSheet";
+}
+
- (id)init
{
self = [self initWithWindowNibName:@"AddPluginSheet"];
@@ -58,9 +63,6 @@
if ([EmuThread active]) {
return NO;
}
-
- if (![self window])
- [NSBundle loadNibNamed:@"AddPluginSheet" owner:self];
[pluginName setObjectValue:[theFile lastPathComponent]];