Setting the Plug-in window controllers' initial value to nil.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82168 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
parent
ea7e430219
commit
e66ba25d49
|
@ -319,6 +319,7 @@
|
|||
[NSThread detachNewThreadSelector:@selector(runCommand:) toTarget:self
|
||||
withObject:arg];
|
||||
//NOTE: the runCommand releases the arg command. Probably not the best way to do it...
|
||||
//This is not an issue with ARC (64-bit) code
|
||||
}
|
||||
|
||||
- (void)configureAs:(int)aType
|
||||
|
@ -334,6 +335,7 @@
|
|||
[NSThread detachNewThreadSelector:@selector(runCommand:) toTarget:self
|
||||
withObject:arg];
|
||||
//NOTE: the runCommand releases the arg command. Probably not the best way to do it...
|
||||
//This is not an issue with ARC (64-bit) code
|
||||
}
|
||||
|
||||
- (NSString *)displayVersion
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#define APP_ID @"net.pcsxr.DFCdrom"
|
||||
#define PrefsKey APP_ID @" Settings"
|
||||
|
||||
static PluginConfigController *windowController;
|
||||
static PluginConfigController *windowController = nil;
|
||||
|
||||
void AboutDlgProc()
|
||||
{
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
#import "PadController.h"
|
||||
#include "pad.h"
|
||||
|
||||
static NSWindow *padWindow;
|
||||
static PadController *padController;
|
||||
static NSWindow *padWindow = nil;
|
||||
static PadController *padController = nil;
|
||||
|
||||
#define APP_ID @"net.pcsxr.DFInputPlugin"
|
||||
|
||||
|
|
|
@ -100,8 +100,6 @@ void ReadConfig()
|
|||
- (IBAction)cancel:(id)sender
|
||||
{
|
||||
[self close];
|
||||
[windowController release];
|
||||
windowController = nil;
|
||||
}
|
||||
|
||||
- (IBAction)ok:(id)sender
|
||||
|
@ -121,8 +119,6 @@ void ReadConfig()
|
|||
ReadConfig();
|
||||
|
||||
[self close];
|
||||
[windowController release];
|
||||
windowController = nil;
|
||||
}
|
||||
|
||||
- (void)loadValues
|
||||
|
|
|
@ -41,7 +41,7 @@ extern const char* PLUGLOC(char* toloc);
|
|||
#endif
|
||||
#define PrefsKey APP_ID @" Settings"
|
||||
|
||||
static PluginController *pluginController;
|
||||
static PluginController *pluginController = nil;
|
||||
char * pConfigFile=NULL;
|
||||
|
||||
void DoAbout()
|
||||
|
|
|
@ -39,7 +39,7 @@ extern const char* PLUGLOC(char* toloc);
|
|||
#define APP_ID @"net.sf.peops.SoftGpuGLPlugin"
|
||||
#define PrefsKey APP_ID @" Settings"
|
||||
|
||||
static PluginConfigController *windowController;
|
||||
static PluginConfigController *windowController = nil;
|
||||
char * pConfigFile=NULL;
|
||||
|
||||
void AboutDlgProc()
|
||||
|
|
|
@ -46,7 +46,7 @@ extern const char* PLUGLOC(char* toloc);
|
|||
#define APP_ID @"net.sf.peops.GpuOpenGLPlugin"
|
||||
#define PrefsKey APP_ID @" Settings"
|
||||
|
||||
static NetSfPeopsOpenGLPluginConfigController *windowController;
|
||||
static NetSfPeopsOpenGLPluginConfigController *windowController = nil;
|
||||
char * pConfigFile=NULL;
|
||||
|
||||
void AboutDlgProc()
|
||||
|
|
Loading…
Reference in New Issue
Block a user