Commit Graph

575 Commits

Author SHA1 Message Date
SND\MaddTheSane_cp 8bdccd853a Removing redundant SDK declarations in the Xcode project.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87120 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-11 03:28:57 +00:00
SND\MaddTheSane_cp 4b4f074b66 Convert Objective-C code to modern syntax, mainly for the NSDictionaries.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87115 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-10 18:43:18 +00:00
SND\MaddTheSane_cp a3ac4842bd Remove 32-bit support on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87114 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-10 18:18:15 +00:00
SND\MaddTheSane_cp aca9c8411f Don't generate .dsym bundle on OS X for the main app when building for debug.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87098 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-06 23:29:19 +00:00
SND\MaddTheSane_cp cfa96d660e Oops, forgot to remove the empty Spanish locaLization folders for the OS X version.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87052 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-02 00:51:02 +00:00
SND\MaddTheSane_cp 9898de1473 Commenting out more unlocalized French strings on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87049 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-01 04:32:48 +00:00
SND\MaddTheSane_cp 3c4fabc58b Remove the Spanish localization because there isn't a spanish .po file.
Translate some localizable.strings files to French, as well as some of the app's preference xib and InfoPlist.strings.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87048 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-01 04:18:25 +00:00
SND\MaddTheSane_cp 83a3894bf7 Some more work on localization for OS X.
Create a Spanish localization. It currently is just the English files copied over.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87046 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-01 01:49:35 +00:00
SND\MaddTheSane_cp 0d01c344bc Minor change to the OS X versioning script.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87026 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-30 02:25:51 +00:00
SND\MaddTheSane_cp 6ddb90bd88 Better prefs managing on the main app.
Moving a few things around on the Mac side of the plug-ins.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87025 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-30 02:17:17 +00:00
SND\MaddTheSane_cp ebafaceb5b Preference changes in OS X plug-ins.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87024 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-30 00:18:10 +00:00
SND\MaddTheSane_cp 460faedba4 Re-working how DFInput on OS X stores preferences, making it match the rest of the OS X plug-ins.
Do some localization support work on DFInput on OS X.
Bump the version in the info.plist file for DFInput to 1.5.
Other code changes and improvements on the Mac port.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87023 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-29 23:36:29 +00:00
SND\MaddTheSane_cp 1fcc3c7976 Add a symbol export file for the OS X sound plug-ins.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87016 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-28 23:21:32 +00:00
SND\MaddTheSane_cp 83c255f817 Bumping the version up to 1.9.94.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86948 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-27 01:40:21 +00:00
SND\MaddTheSane_cp 481e17e94e uncomment out some code: it no longer crashes.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86941 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-26 19:48:53 +00:00
SND\MaddTheSane_cp b5a789c5aa Bumping the version up to 1.9.94.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86939 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-26 19:44:12 +00:00
SND\MaddTheSane_cp 72ad931e44 Minor changes to the Sio1 plug-in for OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86936 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-26 18:54:31 +00:00
SND\MaddTheSane_cp 321d586565 Use __private_extern__ on OS X's localization functions.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86932 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-26 18:22:36 +00:00
SND\MaddTheSane_cp 15a535c6bf Use NSApp instead of +[NSApplication sharedApplication] on the plug-ins.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86931 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-26 18:17:24 +00:00
SND\MaddTheSane_cp 895f26cffe Adding an info.plist for the shared spu library on OS X.
Silence a few warnings about long to int conversions on OS X code.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86929 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-26 17:38:29 +00:00
SND\MaddTheSane_cp 5e6b15b321 Use a codesign for OS X to get around gatekeeper.
The certificate is available to those who ask.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86928 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-26 16:41:48 +00:00
SND\MaddTheSane_cp 13bb318eb2 Remove commented-out code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86898 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-24 20:48:20 +00:00
SND\MaddTheSane_cp 2a2790470d OS X:
Replace CFStringCreateByCombiningStrings with NSArray's componentsJoinedByString:.
Moving some class interfaces out of CheatController.h to CheatController.m

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86897 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-24 19:44:48 +00:00
SND\MaddTheSane_cp 8b64ca8414 Continual improvement to OS X code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86890 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-24 02:19:14 +00:00
SND\MaddTheSane_cp 531ad373b2 Moving most of the OS X preferences to auto layout, and all to 10.7.
Changing some lists of independent checkbox buttons to matrices.
Fix a discrepancy between SDL versions 1.2 and 2.0 APIs in OS X's input preferences.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86849 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-22 23:53:37 +00:00
SND\MaddTheSane_cp 9628a36753 Use SDL2.framework from /Library/Frameworks on OS X instead of miniSDL.
Remove SDL code on OS X's plug-ins subdirectory.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86848 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-22 20:05:38 +00:00
SND\MaddTheSane_cp 105868aa85 Messing with the order of arguments of the LaunchArg class in OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86847 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-22 19:42:02 +00:00
SND\MaddTheSane_cp c160668f80 Fixing a bug.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86811 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-22 00:01:50 +00:00
SND\MaddTheSane_cp ace54f5a93 Unloading bundles with Objective C classes is dangerous. Let's not unload the plug-in at all.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86810 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-21 23:51:37 +00:00
SND\MaddTheSane_cp 3480eebf55 Fix compiling issue.
A few indentation changes in the Mac section of the XGL plug-in.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86809 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-21 23:32:19 +00:00
SND\MaddTheSane_cp de13f7dcba Fix OS X 10.8-only behavior in the XGL plug-in.
Remove some commented-out code on Cocoa code.
Change some ints passed in Cocoa code to NSIntegers.
Replace a deprecated function call to NSRunAlertPanelRelativeToWindow.
Other minor fixes and improvements.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86808 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-21 23:19:04 +00:00
SND\MaddTheSane_cp e57165ae3f Implement window size for the PeopsXGL plug-in on OS X.
This plug-in will also try to fix the old, broken, and unused "Window Size" pref key.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86779 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-21 00:36:42 +00:00
SND\MaddTheSane_cp 264c16e989 Make OS X's version be the current SVN version. This script will probably be changed/removed in release versions.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86747 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-19 17:42:53 +00:00
SND\MaddTheSane_cp 093b82e356 Updating OS X's version to match that of Linux.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86708 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-17 20:42:11 +00:00
SND\MaddTheSane_cp 5be0778eaa Finish work on OS X's cheat management.
There is still a bug that changing the label/name of the cheat doesn't set the changed bit.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86707 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-17 20:12:12 +00:00
SND\MaddTheSane_cp 37ba81a540 Make more plug-ins use and implement RunOnMainThreadSync.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86706 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-17 20:06:59 +00:00
SND\MaddTheSane_cp 30195666f4 Some work on the cheat window on OS X. Note that the changes are disabled by default.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86679 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-16 00:20:10 +00:00
SND\MaddTheSane_cp c69572dc23 Work on the cheat handling on OS X.
I misunderstood what the LoadCheats command did.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86676 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-15 18:42:18 +00:00
SND\MaddTheSane_cp 7838125367 Some preferences improvements to the PeopsSoftGL plug-in on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86612 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-10 21:04:48 +00:00
SND\MaddTheSane_cp c6eff5092c Fix a problem if the memory cards couldn't be found. This fixes the plug-ins in the preferences window not popping up.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86611 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-10 19:26:52 +00:00
SND\MaddTheSane_cp c4d371a6e7 Minor spacing change in OS X's memory card manager.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86548 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-09 16:11:59 +00:00
SND\MaddTheSane_cp 78e00d1f43 Make some functions in SoftGL on OS X use modern Objective-C syntax.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86365 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-08-01 16:52:19 +00:00
SND\MaddTheSane_cp 3c7ad73309 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
2013-08-01 16:50:36 +00:00
SND\MaddTheSane_cp d663bbeb7c fixing the wrong project being non-arc.
Add a convinience function for running blocks on the main thread syncronously.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86262 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-26 19:55:10 +00:00
SND\MaddTheSane_cp ba035beb75 Minor bug fixes.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86218 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-24 02:01:29 +00:00
SND\MaddTheSane_cp 6a153e5bbd Minor changes on OS X code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86216 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-24 00:12:44 +00:00
SND\MaddTheSane_cp 356b1facf0 Change the plug-in implementation on OS X's PeopsXGL plug-in.
Properly implement hacks on OS X's implementation of PeopsXGL.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86215 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-23 23:34:13 +00:00
SND\MaddTheSane_cp 5ddc3b2286 Fix debug messages when the debug file pointer isn't inited on OS X. This only affects the Debug build.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86181 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-20 21:26:09 +00:00
SND\MaddTheSane_cp 997d0637fd Fix a leak in non-ARC code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86108 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-16 03:33:18 +00:00
SND\MaddTheSane_cp 578f268a3e Fixing bug 10934.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86055 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-12 20:12:54 +00:00
SND\MaddTheSane_cp 6420584693 Only print some NSLogs when debugging.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85969 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-11 03:26:21 +00:00
SND\MaddTheSane_cp 01055ead4c Remvoing SysPrintfs that I missed from Cocoa code the last time I did this.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85968 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-11 03:24:07 +00:00
SND\MaddTheSane_cp 6d2da330ce Don't build the mini-SDL library with ARC.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85966 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-11 02:36:29 +00:00
SND\MaddTheSane_cp 04f58e9cbc Revert some SysPrintfs in OS X to NSLogs.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85963 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-11 00:03:19 +00:00
SND\MaddTheSane_cp bde1f035c1 Define PADhandleKey in OS X's main.m file.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85952 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-10 00:27:19 +00:00
SND\MaddTheSane_cp 7979d29592 Tab and spacing changes.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85950 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-10 00:07:42 +00:00
SND\MaddTheSane_cp 09b52df12a minor code tweaks.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85949 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-10 00:04:59 +00:00
SND\MaddTheSane_cp 0fd6f9301c Future work to get PADhandleKey working on OS X. Still very much a work-in-progress.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85937 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-09 09:37:53 +00:00
SND\MaddTheSane_cp c6c9d266fa Make the bladesio1 driver work on OS X:
Fix a bug where the wrong plug-in was being used in place of sio1, causing PCSXR to complain.
Fix a bug where bladesio1's config window would cause PCSXR to crash.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85936 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-09 09:33:55 +00:00
SND\MaddTheSane_cp a2e6c179be Some more work on PCSXR's logging on OS X.
More fiddling with the configuration window.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85935 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-09 08:55:41 +00:00
SND\MaddTheSane_cp 59fabe735c Fix a bug in OS X 32-bit code.
Get rid of an unused ivar, as pointed out by Clang.
Adding a comment about a false positive in Clang's static analyzer.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85933 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-09 08:15:43 +00:00
SND\MaddTheSane_cp b797c32f08 Changing a lot of NSLogs to SysPrintf on OS X's PCSXR.
Enable the emulog on OS X debug, and have create and use a log in ~/Library/Logs/PCSXR.
Delete the hack that enabled PCSXR logs to go to the console in debug mode.
Use modern syntax to create static NSArrays (and retain them in non-ARC code).
Simplify the pauseSafeWithBlock to just create a new dispatch queue and run pauseSafe on the queue.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85931 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-09 07:07:15 +00:00
SND\MaddTheSane_cp 302832eabe Include file missing from last commit.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85928 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-09 04:18:01 +00:00
SND\MaddTheSane_cp c912deb4e7 Updating OS X plug-in code.
Now the net plug-in will warn you if you have a too large or non-ASCII characters.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85926 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-09 03:20:01 +00:00
SND\MaddTheSane_cp 391932ec56 Since when did PcsxrPlugin.m in Xcode get marked to use spaces instead of tabs?
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85922 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-09 00:23:37 +00:00
SND\MaddTheSane_cp 14d7a28b25 Trimming down the preprocessor macros on OS X's plugin object class.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85921 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-09 00:17:26 +00:00
SND\MaddTheSane_cp 47e4d4e8a9 Messing with OS X's config window.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85920 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 23:52:42 +00:00
SND\MaddTheSane_cp 434c738fac Have the arguments passed to the OS X app be done in a specific order, so i.e. you don't try to load a memory card after the emulator has started, or loading a freeze state before the emulator has started.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85919 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 23:46:22 +00:00
SND\MaddTheSane_cp 2b8ba2c882 Rework the disc handler on OS X a bit.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85917 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 23:35:59 +00:00
SND\MaddTheSane_cp 3a71f744bd We don't have any notification observer on the Configuration Controller class anymore. Remove the remove observer call in dealloc.
Comment out dealloc in the Configuration Controller class on ARC.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85908 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 18:44:54 +00:00
SND\MaddTheSane_cp 2eec888d4c Move a few last things to fast enumeration on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85907 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 18:40:12 +00:00
SND\MaddTheSane_cp 634a5f1c0d Clang apparently doesn't respond to -falign-loops or -finline-limit. Removing them from OS X project files.
Quiet some warnings about implicit conversion from 64-bit integer to 32-bit in the main app, but only the Cocoa parts.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85897 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 07:58:24 +00:00
SND\MaddTheSane_cp ea095b6ff6 Create the blank memory block header only once.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85896 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 07:34:10 +00:00
SND\MaddTheSane_cp 9f5b2d7ea3 Fixing 10.8-only behavior in the xibs.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85895 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 07:32:43 +00:00
SND\MaddTheSane_cp 7feee6f616 Various updates and improvements to OS X code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85894 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 07:26:30 +00:00
SND\MaddTheSane_cp 673809f1f1 Setting (moxt) OS X xibs to use Auto Layout (the configuration xib is going to be the hardest to move over...)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85893 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 07:16:46 +00:00
SND\MaddTheSane_cp 60e436cbfc Implement compaction of memory cards.
Other assorted bug fixes.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85890 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 03:35:06 +00:00
SND\MaddTheSane_cp 1be32b430b We can now copy to other cards, but compacting cards isn't available right now.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85887 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 01:43:06 +00:00
SND\MaddTheSane_cp a65d2267a5 Rewriting the memory card management on OS X. It's lacking copy capability right now, though.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85886 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 01:10:00 +00:00
SND\MaddTheSane_cp 37c0e091c1 Looks like I forgot to change a translation string when I moved to multi-block saves, fixing.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85885 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-08 00:01:33 +00:00
SND\MaddTheSane_cp e58027046d Get multi-block save copying working correctly on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85876 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-06 20:09:08 +00:00
SND\MaddTheSane_cp 175bee7ad3 Rehauling the memory card object in preperation for fixing the memory card manager.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85872 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-06 07:14:48 +00:00
SND\MaddTheSane_cp c501701351 Moving the memory card manager to the preferences window.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85870 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-06 04:48:53 +00:00
SND\MaddTheSane_cp fda7db4491 Minor OS X changes.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85869 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-06 03:02:24 +00:00
SND\MaddTheSane_cp ea22cb4379 Get rid of the seperate ARCBridge headers.
Set the mime type on the InfoPlist.strings to be text.
Why were we using sprintf with NSStrings? NSString does have methods for doing what we need.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85868 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-05 23:02:13 +00:00
SND\MaddTheSane_cp d50bdc6fb2 Change some +stringWithCString and -initWithCString:encoding: to modern Objective-C syntax.
Change the encoding of a couple of info.plists to UTF-8, otherwise Xcode was complaining.
Removing some extra line breaks on OS X code.
Other minor changes.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85867 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-05 21:59:24 +00:00
SND\MaddTheSane_cp 3296522bfe Removing unneeded preprocessor defenitions on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85843 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-05 11:38:42 +00:00
SND\MaddTheSane_cp 611182f4ae Grouping similar classes in Xcode.
Implement the Instrument build phase, for when your profile with Instruments.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85842 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-05 11:35:09 +00:00
SND\MaddTheSane_cp 8ce6358f4e Consolidate the plug-ins in OS X into the main PCSXR project.
Add debugging info for SysLibError on OS X.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85835 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-05 07:11:57 +00:00
SND\MaddTheSane_cp 5a8a70c2ac Moving the Xcode config files to their own folder, and fixing the projects' references to them.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85831 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-05 03:55:57 +00:00
SND\MaddTheSane_cp d422e158d8 Fix Cocoa complaining when getting the plug-in info under OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85830 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-05 02:19:01 +00:00
SND\MaddTheSane_cp 759e70e74e Make it build again
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85828 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-05 01:39:31 +00:00
SND\MaddTheSane_cp ee1a4b9bc8 Implement the Xcode setting files on Xcode projects.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85827 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-05 01:32:50 +00:00
SND\MaddTheSane_cp 98d7380ec7 Making the SIO plug-ins work on OS X.
Setting the deployment target on the SIO plug-in be set to 10.7, since we don't we have a 10.6 version of PCSXR that can use it.
Adding Xcode config files.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85826 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-05 01:04:08 +00:00
SND\MaddTheSane_cp b05c91bb3b This should get the bladesio plug-in building on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85824 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-04 21:55:52 +00:00
SND\MaddTheSane_cp 887a72f127 SVN is being stupid
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85823 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-04 21:52:43 +00:00
SND\MaddTheSane_cp 1d282b58e4 get rid of extra, blank lines on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85818 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-04 19:43:04 +00:00
SND\MaddTheSane_cp 4a81192edf Still more work to get Bladesio1 set up for OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85817 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-04 19:35:20 +00:00
SND\MaddTheSane_cp 8ab2acb9a4 Still more work to get Bladesio1 set up for OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85816 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-04 19:23:34 +00:00
SND\MaddTheSane_cp e8799fe621 Copy over DFCdrom to bladesio1 on OS X. to begin the process for the OS X plug-in.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85814 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-04 19:16:29 +00:00
SND\MaddTheSane_cp dd7da2fae9 Make the plug-ins use ARC in 64-bit mode.
Change how the preprocessor macros are managed on OS X.
Set the name of the product to the target name.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85795 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-04 03:07:44 +00:00
SND\MaddTheSane_cp f557fb4d2b Get rid of the messy preprocessor hack for named sliders on the audio plug-ins for OS X:
Consolidate files that are the same.
Whatever class loads a nib, will be that owner, no matter what the nib says.
Have shared code be in a dylib that loads, so there isn't warnings about conflicting classes.
Other changes

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85757 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-03 06:57:46 +00:00
SND\MaddTheSane_cp 3b35614dd7 Mess around with OS X memory objects:
Have the mangled name for the memImage setter send messages to KVO so they still get drawn.
Remove the memIconCount variable and have the object get it from the images array count.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85754 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-07-03 04:46:53 +00:00
SND\MaddTheSane_cp 7ab7abce02 Getting rid of commented-out code.
Other minor changes.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85565 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-26 05:13:18 +00:00
SND\MaddTheSane_cp e80786f8fa Disable the net plug-in in the freeze state handler on demand.
Run the disc image from the handler through PcsxrController so that it can disable the net plug-in as needed.
Cache the NSURL value in the Disc handler.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85563 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-26 04:45:19 +00:00
SND\MaddTheSane_cp cedd6e7734 Set some NSURLs as directories.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85562 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-26 04:41:26 +00:00
SND\MaddTheSane_cp 14380119bf Some work on OS X's net plug-in.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85561 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-26 04:39:52 +00:00
SND\MaddTheSane_cp a7f2365777 Handle if we don't get sent a user dictionary or the memory card changed.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85560 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-26 01:18:49 +00:00
SND\MaddTheSane_cp 21b5b2706f Don't open plug-ins or memory cards if the emulator is running.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85559 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-26 01:05:20 +00:00
SND\MaddTheSane_cp 6349404da5 Even more work on the memory card management.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85558 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-26 00:53:22 +00:00
SND\MaddTheSane_cp f51a15e84f Making the memImage property readonly in the header, but readwrite in the main file, WITHOUT mangling the setter.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85557 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-25 23:14:42 +00:00
SND\MaddTheSane_cp f7a0f268a3 Adding a comment.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85556 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-25 23:00:46 +00:00
SND\MaddTheSane_cp 03e3c01771 Implement creating and selecting memory cards in the memory card manager.
Get rid of imageFromMcd:index: and move the code to imagesFromMcd:.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85555 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-25 22:50:14 +00:00
SND\MaddTheSane_cp 6c9a81db19 Add animated memory card icons on OS X
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85554 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-25 21:02:27 +00:00
SND\MaddTheSane_cp 1e070eefdd Removing commented-out code in the memory object.
Encapsulate the icon image generator and setter in an autorelease block.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85532 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-25 17:05:29 +00:00
SND\MaddTheSane_cp 5a29c04f29 Modify the Memory Object class a little bit. Some minor changes.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85493 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-22 22:59:56 +00:00
SND\MaddTheSane_cp 32f0cfc0e0 Fixing a deadlock in PeopsSoftGL's shader code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85492 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-22 22:00:50 +00:00
SND\MaddTheSane_cp 3381afb069 Handle getting passed "files" that are actually command line options. This has the side effect of rejecting nonexistant files as well.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85491 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-22 21:39:09 +00:00
SND\MaddTheSane_cp dfa1cc3800 Add an edit menu to OS X's menu bar.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85490 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-22 21:28:51 +00:00
SND\MaddTheSane_cp d30baffb38 Minor spacing changes.
Enable logging in the debug build.
Warn if we are passed multiple memory cards of the same type from the command line.
Add a common method to set up the emulation thread.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85489 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-22 21:25:16 +00:00
SND\MaddTheSane_cp b6b2beab48 Ignore files passed via the command line if we're parsing.
Calls to GUI functions should happen on the main thread. Put the [NSApp presentError:] in a block to the main thread.
Put some bools in PcsxrController inside a struct with a size of 1.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85488 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-22 19:55:35 +00:00
SND\MaddTheSane_cp 33fb691cf7 Adding some rudimentary command line support for OS X
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85486 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-22 06:11:06 +00:00
SND\MaddTheSane_cp 23a26d71b5 Adding the pauseSafeWithBlock declaration to the EmuThread header.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85470 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-20 21:03:32 +00:00
SND\MaddTheSane_cp 68249b142e Make OS X use LidInterrupt.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85469 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-20 20:42:46 +00:00
SND\MaddTheSane_cp c6fe359a59 Since we haven't stated we can't open more than one file in OS X' cheat open file box, handle if we open more than one file.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85000 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-05-29 05:12:52 +00:00
SND\MaddTheSane_cp 071c83ecdf Prevent deadlocking when saving states on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@84818 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-05-20 17:53:35 +00:00
SND\MaddTheSane_cp d4affa2179 Hook up one of the shader selectors.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@84229 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-04-25 01:35:55 +00:00
SND\MaddTheSane_cp 355a94d2d7 Fix a crash when using SoftGL on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83636 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-03-17 22:26:30 +00:00
SND\MaddTheSane_cp e68904da2e Apply patch 13980, with fixes to get it working properly. This allows a cheat interface for OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83306 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-03-03 00:39:53 +00:00
SND\MaddTheSane_cp f9a250d60e Make OS X's localization implementation functions match the signature of gettext.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83305 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-03-03 00:15:09 +00:00
SND\MaddTheSane_cp 473ab832ad Only run the url if the emulator is running if we are using an ISO.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83303 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-03-02 18:34:25 +00:00
SND\MaddTheSane_cp 817e7dad39 Set the recent item menu text based on the localized name: this will honor the hidden extension key set in Finder.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83232 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-02-28 16:54:50 +00:00
SND\MaddTheSane_cp d1ba7d9232 Use URLByAppendingPathComponent: instead of stringWithFormat: to get the destination path.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82899 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-02-14 20:05:59 +00:00
SND\edgbla_cp 111ada78b7 sio;
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82898 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-02-14 19:18:22 +00:00
SND\MaddTheSane_cp 92337c525e Fix a memory leak in non-ARC code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82826 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-02-12 17:44:04 +00:00
SND\MaddTheSane_cp fed503f015 Only set the ISO in the disc handler when the emulator is running if we are using an ISO.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82825 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-02-12 17:25:58 +00:00
SND\MaddTheSane_cp 720d4be596 Applying patch 13817.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82774 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-02-08 19:25:55 +00:00
SND\MaddTheSane_cp 10c2e26d00 minor changes
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82590 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-29 19:50:54 +00:00
SND\MaddTheSane_cp 3e3a841cee fixed a memory leak in non-ARC code.
When we fail, autorelease, not just release self.
Change createMenuItem: to newMenuItem: this makes ARC know we are returning a non-autoreleased object.
It's bad practice to remove items from the array we're iterating over. the itemArray call might keep a local copy, but it still makes me cringe.
Create an autorelease pool around plug-in initialization code.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82589 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-29 19:16:02 +00:00
SND\MaddTheSane_cp 5c46670036 Window calls should only be done on the main thread on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82588 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-29 19:07:07 +00:00
SND\MaddTheSane_cp daae620c88 Updating Xcode project files based on Xcode 4.6 upgrade recommendation.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82585 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-29 17:36:21 +00:00
SND\MaddTheSane_cp 144a5bfda7 The weak directive is useless in non-ARC code. comment it out when not using ARC code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82567 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-28 17:14:08 +00:00
SND\MaddTheSane_cp 6e2f3f0721 Messing around with the file handling XIBs.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82566 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-28 16:51:10 +00:00
SND\MaddTheSane_cp 1da8003f5a Bumping the minimum OS X version to 10.7.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82403 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-20 17:26:34 +00:00
SND\MaddTheSane_cp f04fe325fc Make sPluginList in PluginList.m unsafe-unretained so we can properly free it when other sources are done with it.
I didn't notice that the OS X app controller had a PluginList instance variable: use that instead of calling +[PluginList list].
A few other minor changes.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82281 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-14 22:10:02 +00:00
SND\MaddTheSane_cp 5163b8f7b8 Getting rid of the autorelease pools around EmuThread's functions: they were leaking.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82193 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-11 00:46:28 +00:00
SND\MaddTheSane_cp 3720dc59ca Disable the dynarec core on OS X i386. It will still run in 64-bit mode.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82185 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-10 21:00:20 +00:00
SND\MaddTheSane_cp 7c6a7978c0 Use strlcpy on OS X code.
> Better handling of the net system on OS X.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82182 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-10 20:46:32 +00:00
SND\MaddTheSane_cp e66ba25d49 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
2013-01-10 04:21:36 +00:00
SND\MaddTheSane_cp ea7e430219 Changing some things on the OS X net plug-in.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82167 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-10 04:09:34 +00:00
SND\MaddTheSane_cp f9cb1c85ed Messing with the OS X plug-in code:
Making it so that absolute paths are properly handled on plug-ins.
Put the absolute path if we load a plug-in from somewhere else than the App's built-in location.
Have path in PcsxrPlugin be an Objective C property. Also making the name a new Objective C property.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82165 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-10 01:02:14 +00:00
SND\MaddTheSane_cp 9af085242b Use ARC in 64-bit mode on the Mac.
Register when we drag a disc image (or double click) to Pcsxr in the recent menu.
Comment out ReleasePlugins() in SysClose: it was causing a pointer to be released twice when you changed a plug-in (specifically, the GPU).
Cleaning up the Recent items code. One notable case is only releasing objects we have ownership of (this is pointless in ARC, but necessary in 32-bit code).
Had to rewrite -[PluginList setActivePlugin:forType:] because the previous version wasn't ARC-friendly.
If we select a disc while the emulator is running, load the disc into the current session.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82136 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-09 01:50:38 +00:00
SND\MaddTheSane_cp 05e0c2b22c Making PCSX-R for Mac handle the added disc image formats.
Getting rid of unneeded .cue to .bin handling code.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82120 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-08 22:20:31 +00:00
SND\MaddTheSane_cp 22d155c564 Build the Recent Menu source file.
Check to see if we have a binding to get info from before using it.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82119 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-08 21:07:15 +00:00
SND\MaddTheSane_cp e2f01cd5e7 Get OS X compiling again:
Fixed undeclared GPU_FRAME_LIMIT.
Some patch somewhere changed the file reference of the ExtendedKeys headers in the GPU plug-ins. reverting that.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81977 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-12-28 09:18:08 +00:00
SND\MaddTheSane_cp 4e301cfdb8 Setting end-of-line metadata.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81971 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-12-24 21:25:14 +00:00
SND\MaddTheSane_cp 520a24fb83 Implement fast-forward in the display plug-ins for OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81907 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-12-20 23:04:58 +00:00
SND\MaddTheSane_cp ec03001040 Add a recent menu.
Ignoring Xcode 4 generated files.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81905 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-12-20 22:42:36 +00:00
SND\MaddTheSane_cp b35a42b0a1 Incorporating changes from the GTK memory manager.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81887 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-12-20 22:23:00 +00:00
SND\MaddTheSane_cp 6f3064b9ea Fix a double release bug.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81775 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-12-16 19:10:24 +00:00
SND\MaddTheSane_cp b1388179c0 Add missing file from last commit.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81771 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-12-15 21:09:38 +00:00
SND\MaddTheSane_cp be3d963074 Mac Patch 13437.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81770 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-12-15 21:07:55 +00:00
SND\edgbla_cp 065ccce6e9 Unix style EOL (thanks to darktjm);
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81299 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-11-18 18:15:59 +00:00
SND\MaddTheSane_cp adc29a2386 Some code refactoring.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81228 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-11-14 00:19:01 +00:00
SND\MaddTheSane_cp f4092dc959 Break out of the file handling loop when we reach a handle.
Work on the Disc handler, making it say that the disc cover was open when loading another disc.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80820 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-31 01:25:35 +00:00
SND\MaddTheSane_cp 239ab668a1 Naming the PSX thread on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80819 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-31 01:13:04 +00:00
SND\weimingzhi_cp f131f1ca8c update my email address.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80665 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-23 09:24:24 +00:00
SND\MaddTheSane_cp 055fff5071 Allocate the buffer in loadSource via length of the data and not the file size. This means technically a web URL could be passed to it and it would still work.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80642 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-19 23:14:07 +00:00
SND\MaddTheSane_cp 09307e301a Putting my name in the right place.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80440 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-15 22:23:48 +00:00
SND\MaddTheSane_cp 91d74ff848 Use rect_texture if available and we're not using shaders.
Spacing changes.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80393 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-13 23:03:36 +00:00
SND\MaddTheSane_cp 7bb04ed164 Fix off-by-one on shader quality on the Mac SoftGL port.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80392 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-13 22:33:35 +00:00
SND\MaddTheSane_cp 54a898fced We don't need mutable dictionaries when setting plug-in defaults.
Set proper classes in the DFSound Info.plist files.
Fix a missing default setting in the sound plug-ins.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80391 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-13 22:07:53 +00:00
SND\MaddTheSane_cp 949b0bc500 Fixing naming convention on a Cocoa function.
Fixing string format in a Cocoa string.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80390 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-13 20:39:01 +00:00
SND\MaddTheSane_cp 221dab875d Quieting a warning found by Clang's static analyzer.
Properly clean up after ourselves.
Our code doesn't use Carbon, and implicitly links to System.framework (which, on OS X, is just a pointer to libSystem).
Don't include debugging symbols on release builds.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80326 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-10 02:59:53 +00:00
SND\MaddTheSane_cp 18fe428c13 Added some sanity checking so we don't try to use nil objects in the SoftGL Mac driver.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80324 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-10 00:54:20 +00:00
SND\MaddTheSane_cp 7a613cfccd Mainly spacing changes, and a few OCD things.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80323 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-10 00:04:58 +00:00
SND\MaddTheSane_cp 15882a2822 spacing change.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80267 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-07 18:45:25 +00:00
SND\MaddTheSane_cp 5305a7ec79 Fixing something I goofed on last commit.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80254 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-06 19:44:58 +00:00
SND\MaddTheSane_cp 1f00ddb102 -NSURL fileReferenceURL] didn't do what I thought it did. Instead, Bookmarks do that
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80253 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-10-06 19:35:43 +00:00
SND\MaddTheSane_cp c4002bba93 Minor spacing changes.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80047 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-09-28 00:52:28 +00:00
SND\MaddTheSane_cp d1d8c8a66d Fix missing return statement.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80046 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-09-28 00:12:50 +00:00
SND\MaddTheSane_cp a602f4591f Quieting a warning in OS X localization implementation.
Fixing a few bugs on the OS X Software Shader support, and adding a quality selector.
Changing the hacks type used in the Mac preference selector from unsigned long to unsigned int.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79982 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-09-23 21:28:57 +00:00
SND\MaddTheSane_cp bda521f3a4 Changing encoding of c strings returned for the linker on OS X to ASCII: I doubt the Mach-O file format is in UTF-8
Fixing releasing when the parent's class init fails: The proper way is to pass null when that happens, not release then pass null.
Using fast enumeration where possible.
Modified the bin/cue handling to also find the bin for .toc files. Note that there isn't a UTI for .toc files yet.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79980 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-09-23 19:24:03 +00:00
SND\MaddTheSane_cp 148ac41c4d Adding AppKit and Foundation frameworks on OS X for easy function lookup.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79978 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-09-23 18:43:07 +00:00
SND\MaddTheSane_cp 76108ffe79 Modernizing PeopsXGL for OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79977 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-09-23 18:41:37 +00:00
SND\MaddTheSane_cp dd1ad114b1 Quiet a warning in 64-bit code while not triggering a similar warning in 32-bit code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79965 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-09-21 03:45:38 +00:00
SND\MaddTheSane_cp 0af4b67eb8 Main Xcode project changed slightly.
Style changes in the Mac NetSock plug-in.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79894 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-09-17 01:47:34 +00:00
SND\MaddTheSane_cp a4905ffaa0 Updating projects to build on Xcode 4.4
Added OpenGL shader support to the Mac software renderer.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79892 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-09-17 01:15:40 +00:00
SND\MaddTheSane_cp 659ecb8f16 Make repetitive array creation only happen once on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@78288 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-05-23 23:20:57 +00:00
SND\MaddTheSane_cp 3e2fd08a49 Setting PcsxrMemCardDocument to be readable to Interface Builder 3.2.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@78281 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-05-23 19:18:31 +00:00
SND\MaddTheSane_cp 0c32143901 Basic widescreen support for Mac OS X.
Change memoryCardWindowIsVisible to more Objective-C-friendly isMemoryCardWindowVisible.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@78279 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-05-23 18:29:44 +00:00
SND\dario86_cp 79c267cda7 Updated Free Software Foundation address (Jem256).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@75156 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-02-19 02:15:18 +00:00
SND\MaddTheSane_cp bfe7140f1e Setting the proper encodings on the sound plug-ins' InfoPlist.strings.
Updating main Xcode project to account for the change of names for the sound plug-ins.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73975 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-31 21:20:20 +00:00
SND\MaddTheSane_cp 2cfaae3409 Fixing memory leak.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73963 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-31 12:42:30 +00:00
SND\MaddTheSane_cp dc6dd5d2c4 Check to see if the file exists before returning it in HandleBinCue.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73949 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-30 21:39:23 +00:00
SND\MaddTheSane_cp 7c50a51cbf Try to figure out the .bin name from a cue sheet. If that fails, use the old method (get the .bin from the .cue file name).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73948 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-30 21:28:37 +00:00
SND\MaddTheSane_cp 67804ee6d6 Fail in PcsxrPlugin initialization if we can't find the plugin specified. Prevents a crash if a plug-in was removed/renamed.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73846 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-29 00:03:28 +00:00
SND\MaddTheSane_cp a3c3fe37b2 fixing the PeopsSPU Xcode project
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73842 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-28 18:59:04 +00:00
SND\MaddTheSane_cp 36c58f3192 rearranging Sound plug-in for Mac.
Renamed PeopsSPU plugin to PeopsSpuSDL to reflect its use of SDL.
Renamed PeopsAL plugin to PeopsSpuAL.
Prevent Objective-C class clashing between the sound plug-ins by renaming the named slider class based on which plug-in is being built.
Splitting resources between the two different sound plug-ins.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73841 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-28 18:52:18 +00:00
SND\MaddTheSane_cp d1f289eed6 Changing the cue UTI to com.goldenhawk.cdrwin-cuesheet from Boxer.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73837 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-28 16:51:41 +00:00
SND\MaddTheSane_cp ad3d06b4b9 Make IsCdHandleOpen() on Mac match the Linux method.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73820 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-27 22:15:23 +00:00
SND\MaddTheSane_cp 81e937295d Thinning down PcsxrMemoryObject header down even more.
Making PcsxrMemoryObject only export getters.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73753 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-26 02:14:55 +00:00
SND\MaddTheSane_cp f3600caa4b Adding my name to the Coders list in Credits.rtf.
We should directly access instance variables instead of calling getters/setters on PcsxrMemoryObject's init method.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73578 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-20 23:32:58 +00:00
SND\MaddTheSane_cp e6ac6b9c85 Use proper init function for NSURL. This should fix the inability to run ISOs and IMGs.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73552 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-20 16:04:55 +00:00
SND\MaddTheSane_cp 437d099176 Added sanity checking around the temporary version checking for loading libraries for Mac OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73526 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-20 00:20:40 +00:00
SND\MaddTheSane_cp 52dd8ecce8 Changed utisCanHandle to supportedUTIs.
reworked application:openFile: to check if a PcsxrFileHandle supports a file then, if it does, uses the specified PcsxrFileHandle.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73485 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-18 23:51:13 +00:00
SND\MaddTheSane_cp 04600f5488 Uncomment out dlclose in SysCloseLibrary.
Load the most recent plug-in with the same file name.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73442 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-18 00:46:51 +00:00
SND\MaddTheSane_cp 7264f33c12 Tell NSWorkspace to note the proper file path changed in PcsxrPluginHandler.
Store the full path in PcsxrPlugin to check against in verifyOK function.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73440 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-17 21:44:51 +00:00
SND\MaddTheSane_cp a603862e8d Multiple plug-in directories support for Mac OS X. It could be better: currently it uses hierarchy with the built-in plug-in path at the bottom and the user plug-in path at the top. I should probably do it by plug-in version.
PlayStation plug-in double-clicked on Mac OS X are now moved to the user directory instead of the App's built-in plug-in directory. the previous method could cause problems if write support wasn't set in PCSXR, such as if it was created from a different user.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73439 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-17 20:41:31 +00:00
SND\MaddTheSane_cp b6f15852f3 Reduce code duplication in -[PcsxrController application:openFile:].
Added a new function to the PcsxrFileHandle protocol that says what types of UTIs it supports. Currently only used when selecting discs or memory cards from an open dialog, and not used in checking if an app can open a file.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73437 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-17 19:08:51 +00:00
SND\MaddTheSane_cp 528874bff7 Passing CFStrings to UTTypeEqual for constant strings.
Better error handling in case we can't get a UTI for a file.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73314 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-15 19:44:34 +00:00
SND\MaddTheSane_cp 567a746673 Fixed a memory leak in HandleBinCue.
Fixed a bug in HandleBinCue.
Made it so that HandleBinCue checks to see if there is a file with .bin. If not, use .BIN. This should help with case-sensitive filesystems.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73194 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-12 19:17:36 +00:00
SND\MaddTheSane_cp 5fd066c404 Messing with UTIs.
Fixing UTTypeConformsTo for the cue UTI.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73193 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-12 19:04:02 +00:00
SND\MaddTheSane_cp fe9e7ebf88 Fixed missing return type.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73191 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-12 18:40:23 +00:00
SND\MaddTheSane_cp dc0c564b64 Fixed possible bug.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73190 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-12 17:25:41 +00:00
SND\MaddTheSane_cp 0fee52546d committing Xcode project. Forgot to do so earlier.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73184 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-12 11:01:06 +00:00
SND\MaddTheSane_cp 36f2f62305 Renaming com.codeplex.pcsxr.mdfdisc to com.alcohol-soft.mdfdisc, since the format appears to have originated from the Alcohol 120% software.
Added support for bin/cue by opening the cue file, then getting the .bin file name from the .cue.
Added handling of freeze states and disc images.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73179 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-12 03:32:21 +00:00
SND\MaddTheSane_cp 5174e012aa Rewrote the file handling on Mac OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73141 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-11 04:11:51 +00:00
SND\MaddTheSane_cp 287d77d599 Removed -mstackrealign. It was impossible to debug with THAT, too. Also, it's just a band-aid over the bigger issue of the dynarec core being 4-byte aligned when it needs to be 16-byte aligned on Mac OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73132 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-10 18:05:04 +00:00
SND\MaddTheSane_cp ec0822b8f0 Moving things around in the Memory manager for Mac OS X.
Fixed a bug in the OS X memory manager that would prevent the change in memory card to be reflected in the window.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73112 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-09 23:06:12 +00:00
SND\MaddTheSane_cp 7bbdf20d98 Let's make sure the memory card is created before posting a notification about it.
Declare "_MACOSX" on the XGL plug-in.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72996 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-08 03:20:28 +00:00
SND\MaddTheSane_cp ef551a9d0e Use actual UTIs of most of the disk image formats. Not .bin, though. That's used by com.apple.macbinary-archive.
Change the UTI for the broad disk images into something more narrow (.mdf).

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72944 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-07 04:39:34 +00:00
SND\MaddTheSane_cp c6cbf03a5a Passing -mstackrealign compiler flag when building on Mac OS X. This fixes runtime errors on the 32-bit build of PCSXR.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72895 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-06 01:51:33 +00:00
SND\MaddTheSane_cp 5fdd921d34 Prevent a blank memory card selector from popping up at launch.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72894 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-06 00:25:40 +00:00
SND\MaddTheSane_cp a3dec2f0e3 Workaround to get PCSXR for Mac to have ISOs selectable.
Updating the info.plist to have memory cards set as editable.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72891 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-05 21:57:42 +00:00
SND\MaddTheSane_cp 353134c57d Removing one nib that didn't get deleted
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72857 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-05 04:43:42 +00:00
SND\MaddTheSane_cp 6c94af779d Added PcsxrMemCardController to those listening for changes in the memory card.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72845 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-04 06:34:43 +00:00
SND\MaddTheSane_cp 3bd6d16afd Made it so that opening a memory card on PCSXR for the Mac allows you to set which slot you want to put it in. Just ignore the "Could not open file" warning for now: It's wrong.
Added a class method to ConfigurationController that will set a memory card based on a path passed to it. Also made ConfigurationController listen for when a memory card is changed.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72844 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-04 06:09:59 +00:00
SND\MaddTheSane_cp c9acd48b30 Fixes for some problems found with Xcode's static analyzer. There are more, but I don't know how to approach them.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72824 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-03 05:09:40 +00:00
SND\MaddTheSane_cp 4273fdfc90 Link Enable NetPlay button to the proper action.
Open dialogs now have a set file types that they can open (Set by UTIs, with a new imported UTI for disc images).
Retaining openDlg, then releasing when done, as per the suggestion of Apple's documentation.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72823 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-03 01:32:30 +00:00
SND\MaddTheSane_cp e46e672bf9 Fixes to the Net plug-in for Mac OS X:
Use -[NSString cStringUsingEncoding:NSASCIIStringEncoding] instead of just -[NSString cString] for getting the IP address from an NSString.
Center the SockDialog before showing it.
Load values when sockOpen() is called.


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72821 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-02 23:20:44 +00:00
SND\MaddTheSane_cp afc0ff9c91 Remove PowerPC files from the Xcode build process.
Explicitly state valid architectures to only i386 and x86_64 for Mac OS X.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72818 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-02 20:44:00 +00:00
SND\MaddTheSane_cp dbfae13533 Use MAXPATHLEN when copying over directory names
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72761 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-02 01:36:44 +00:00
SND\MaddTheSane_cp 7543dd0405 Remove -fomit-frame-pointer from Xcode debug builds; it was impossible to debug with it.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72759 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-02 01:30:11 +00:00
SND\edgbla_cp ca4066b2fb git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72730 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2011-11-30 15:46:36 +00:00
SND\MaddTheSane_cp 85ba8b161a Actually load the Net plug-in on Mac OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72722 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-29 23:47:19 +00:00
SND\MaddTheSane_cp ee2cb87959 Removing unused outlets.
Naming some stuff in the xib to be more user-friendly.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72694 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-29 04:27:27 +00:00
SND\MaddTheSane_cp 92bae095d2 Added a note to the Mac OS X memory editor's source code.
Let's have the tab that opens in Mac preferences be the first tab. Somewhere this got changed.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72671 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-27 19:43:22 +00:00
SND\MaddTheSane_cp 66af39bcd1 Makes it so that sleeping in the background saves between sessions.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72658 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-27 04:52:47 +00:00
SND\MaddTheSane_cp 10604cab89 Resized the Memory Card manager for Mac OS X.
Emulator can't be started if the Memory Card manager window is open on Mac OS X.
Center the Memory Card manager window when it shows up.
The Memory Card manager will refresh when the window is brought back to the front (It used to be that closing the window, then re-opening it wouldn't reload the contents of the cards).

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72657 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-27 01:35:59 +00:00
SND\MaddTheSane_cp 61850440ef Fixed the improperly-labeled deleted display on blocks.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72655 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-26 17:58:41 +00:00
SND\MaddTheSane_cp 47617238d3 Fix a missing [super dealloc] call.
Fixing wrong bindings.

I still get wrong info (it says some memory slots are deleted when they're not).

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72647 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-26 05:03:11 +00:00
SND\MaddTheSane_cp 5b664c6843 Fixed off-by-one bug.
Show if a block is deleted or not.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72646 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-26 04:11:09 +00:00
SND\MaddTheSane_cp 232c3563b4 The Memory card editor for Mac OS X should be up and running now.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72644 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-25 23:15:57 +00:00
SND\MaddTheSane_cp ef5d0defe9 More changes to the Memory Card manager for Mac OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72612 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-24 19:38:11 +00:00
SND\MaddTheSane_cp 2082062cd8 Hack to make it so that pausing when PCSXR is in the background can be disabled.
I would like it so that it was in the preference window.  Maybe I can do that later.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72609 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-24 19:03:21 +00:00
SND\MaddTheSane_cp e542a8ec72 First steps to make a memory card manager for Mac.
Currently it only allows to to wipe a memory card and see what's saved on it.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72586 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-24 05:17:27 +00:00
SND\MaddTheSane_cp a6ef577f7b Updating Localizable.strings.
Minor string change in PcsxrController and Localizable.strings.
A bit more transition from PCSX to PCSXR (AddPluginSheet.xib).

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72528 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-22 04:29:57 +00:00
SND\MaddTheSane_cp c11ed17e57 Localizing the Named Sliders in the SPU plug-in.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72527 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-22 04:07:13 +00:00
SND\MaddTheSane_cp 83044f740a Adding a kludge around defines to get each plug-in to have a unique localization function on Mac OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72452 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-18 23:58:37 +00:00