summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmacosx/PcsxrPlugin.m2
-rwxr-xr-xmacosx/plugins/DFCdrom/macsrc/PluginConfigController.m2
-rwxr-xr-xmacosx/plugins/DFInput/macsrc/PadController.m4
-rwxr-xr-xmacosx/plugins/DFNet/macsrc/PluginConfigController.m4
-rwxr-xr-xmacosx/plugins/DFSound/macsrc/PluginController.m2
-rwxr-xr-xmacosx/plugins/DFXVideo/macsrc/PluginConfigController.m2
-rwxr-xr-xmacosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m2
7 files changed, 8 insertions, 10 deletions
diff --git a/macosx/PcsxrPlugin.m b/macosx/PcsxrPlugin.m
index 97e3fbc6..b311c503 100755
--- a/macosx/PcsxrPlugin.m
+++ b/macosx/PcsxrPlugin.m
@@ -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
diff --git a/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m b/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m
index 19b5c872..b510eead 100755
--- a/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m
+++ b/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m
@@ -25,7 +25,7 @@
#define APP_ID @"net.pcsxr.DFCdrom"
#define PrefsKey APP_ID @" Settings"
-static PluginConfigController *windowController;
+static PluginConfigController *windowController = nil;
void AboutDlgProc()
{
diff --git a/macosx/plugins/DFInput/macsrc/PadController.m b/macosx/plugins/DFInput/macsrc/PadController.m
index 88fdeb83..1479b35a 100755
--- a/macosx/plugins/DFInput/macsrc/PadController.m
+++ b/macosx/plugins/DFInput/macsrc/PadController.m
@@ -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"
diff --git a/macosx/plugins/DFNet/macsrc/PluginConfigController.m b/macosx/plugins/DFNet/macsrc/PluginConfigController.m
index b0444e9a..9ddf7417 100755
--- a/macosx/plugins/DFNet/macsrc/PluginConfigController.m
+++ b/macosx/plugins/DFNet/macsrc/PluginConfigController.m
@@ -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
diff --git a/macosx/plugins/DFSound/macsrc/PluginController.m b/macosx/plugins/DFSound/macsrc/PluginController.m
index dac102f5..536692e7 100755
--- a/macosx/plugins/DFSound/macsrc/PluginController.m
+++ b/macosx/plugins/DFSound/macsrc/PluginController.m
@@ -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()
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m b/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m
index a36e90d7..4865a99e 100755
--- a/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m
+++ b/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m
@@ -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()
diff --git a/macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m b/macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m
index 8de12e3e..41fdb7b7 100755
--- a/macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m
+++ b/macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m
@@ -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()