diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-12-12 03:32:21 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-12-12 03:32:21 +0000 |
| commit | 36f2f623051751cbfcb529d8ebb3a92c20747bab (patch) | |
| tree | cc3ba36b54ee1e25f0538532265a0c4cbb310d07 /macosx/PcsxrPluginHandler.m | |
| parent | 5174e012aae4d340b373c2d7c5d028d6e849d9f8 (diff) | |
| download | pcsxr-36f2f623051751cbfcb529d8ebb3a92c20747bab.tar.gz | |
Renaming com.codeplex.pcsxr.mdfdisc to com.alcohol-soft.mdfdisc, since the format appears to have originated from the Alcohol 120% software.
Added support for bin/cue by opening the cue file, then getting the .bin file name from the .cue.
Added handling of freeze states and disc images.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73179 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrPluginHandler.m')
| -rw-r--r-- | macosx/PcsxrPluginHandler.m | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/macosx/PcsxrPluginHandler.m b/macosx/PcsxrPluginHandler.m index 84919c56..7ab00161 100644 --- a/macosx/PcsxrPluginHandler.m +++ b/macosx/PcsxrPluginHandler.m @@ -14,7 +14,7 @@ { self = [super initWithWindow:window]; if (self) { - // Initialization code here. + moveOK = NO; } return self; @@ -22,9 +22,7 @@ - (id)init { - if (self = [super initWithWindowNibName:@"AddPluginSheet"]) { - moveOK = NO; - } + self = [super initWithWindowNibName:@"AddPluginSheet"]; return self; } @@ -53,8 +51,7 @@ [pluginName setObjectValue:[[NSURL fileURLWithPath:theFile] lastPathComponent]]; [NSApp runModalForWindow:[self window]]; - // Sheet is up here. - [NSApp endSheet:[self window]]; + [[self window] orderOut:self]; if (moveOK == YES) { NSFileWrapper *wrapper = [[NSFileWrapper alloc] initWithPath:theFile]; |
