diff options
Diffstat (limited to 'macosx/PcsxrMemCardHandler.m')
| -rw-r--r-- | macosx/PcsxrMemCardHandler.m | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/macosx/PcsxrMemCardHandler.m b/macosx/PcsxrMemCardHandler.m index 4cfcb513..2d4e1080 100644 --- a/macosx/PcsxrMemCardHandler.m +++ b/macosx/PcsxrMemCardHandler.m @@ -15,17 +15,15 @@ { self = [super initWithWindow:window]; if (self) { - // Initialization code here. - } + memChosen = 0; + } return self; } - (id)init { - if (self = [super initWithWindowNibName:@"PcsxrMemCardDocument"]) { - memChosen = 0; - } + self = [super initWithWindowNibName:@"PcsxrMemCardDocument"]; return self; } @@ -53,7 +51,6 @@ [NSApp runModalForWindow:[self window]]; - [NSApp endSheet:[self window]]; [[self window] orderOut:self]; if (memChosen != 0) { |
