summaryrefslogtreecommitdiff
path: root/macosx/PcsxrController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-01 16:50:36 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-01 16:50:36 +0000
commit3c7ad73309303a8899d18c6d9da3f41a0a54da6d (patch)
tree7af9a187734bb7c8b35cd03d7ebf1a6bca26932b /macosx/PcsxrController.m
parent7419d226fe6f60a0e8cc850ba646b9388b7c1763 (diff)
downloadpcsxr-3c7ad73309303a8899d18c6d9da3f41a0a54da6d.tar.gz
Some work on OS X's cheat interface.
Use .cht as the file extension for cheats. Create a file handler for cheat files. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86364 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrController.m')
-rwxr-xr-xmacosx/PcsxrController.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/PcsxrController.m b/macosx/PcsxrController.m
index fc12a98f..f9d8bd38 100755
--- a/macosx/PcsxrController.m
+++ b/macosx/PcsxrController.m
@@ -7,6 +7,7 @@
#import "PcsxrPluginHandler.h"
#import "PcsxrDiscHandler.h"
#import "PcsxrFreezeStateHandler.h"
+#import "PcsxrCheatHandler.h"
#import "LaunchArg.h"
#include "psxcommon.h"
#include "plugins.h"
@@ -56,6 +57,7 @@ void ShowHelpAndExit(FILE* output, int exitCode)
@synthesize recentItems;
@synthesize skipFiles;
+@synthesize cheatController;
- (BOOL)endAtEmuClose
{
@@ -835,7 +837,7 @@ otherblock();\
}
static NSArray *handlers = nil;
if (handlers == nil) {
- handlers = @[[PcsxrPluginHandler class], [PcsxrMemCardHandler class], [PcsxrFreezeStateHandler class], [PcsxrDiscHandler class]];
+ handlers = @[[PcsxrPluginHandler class], [PcsxrMemCardHandler class], [PcsxrFreezeStateHandler class], [PcsxrDiscHandler class], [PcsxrCheatHandler class]];
RETAINOBJNORETURN(handlers);
}
BOOL isHandled = NO;