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:
SND\MaddTheSane_cp 2013-01-10 04:21:36 +00:00
parent ea7e430219
commit e66ba25d49
7 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -25,7 +25,7 @@
#define APP_ID @"net.pcsxr.DFCdrom"
#define PrefsKey APP_ID @" Settings"
static PluginConfigController *windowController;
static PluginConfigController *windowController = nil;
void AboutDlgProc()
{

View File

@ -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"

View File

@ -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

View File

@ -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()

View File

@ -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()

View File

@ -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()