Commit Graph

575 Commits

Author SHA1 Message Date
SND\MaddTheSane_cp c9289d55f0 OS X:
Fixing a few bugs.
Get rid of a few deprecated notices.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87842 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-11-16 06:29:34 +00:00
SND\MaddTheSane_cp 045b73220d Removing unused framework references in Xcode.
Other minor changes.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87838 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-11-16 00:54:31 +00:00
SND\MaddTheSane_cp e07e43ec21 Minor OS X constraint change.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87809 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-11-11 08:00:54 +00:00
SND\MaddTheSane_cp 31d3ab4145 Make it so that debugging will be slightly easier in future OS X releases.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87801 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-11-10 08:03:57 +00:00
SND\MaddTheSane_cp 989fd84132 Fix use of deprecated functions.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87798 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-11-10 02:18:18 +00:00
SND\MaddTheSane_cp 9cce9612a1 Updating PCSX-R version to 1.9.95.
Setting the minimum OS X version to 10.9.
Using base localization on OS X.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87797 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-11-10 00:44:29 +00:00
SND\MaddTheSane_cp 3e01cc3981 Fix a few things.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87788 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-11-07 04:01:37 +00:00
SND\MaddTheSane_cp 0cabf4983a Adding the PCSXR scheme to Xcode.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87685 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-28 20:54:10 +00:00
SND\MaddTheSane_cp 530e66ebc0 Fix use of deprecated function usage on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87672 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-27 04:35:11 +00:00
SND\MaddTheSane_cp a92cd8fb7a We don’t need to do static analyze when building.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87671 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-27 02:24:19 +00:00
SND\MaddTheSane_cp 58340192a0 Disable LTO for now: it has issues right now.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87670 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-27 02:16:33 +00:00
SND\MaddTheSane_cp 8af09625ea Bleh, the emulog was being needlessly verbose.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87669 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-26 22:35:57 +00:00
SND\MaddTheSane_cp 00f48c7a6c Removing untranslated OS X localization files.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87662 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-26 00:46:40 +00:00
SND\MaddTheSane_cp 0a342e0492 Implement window size setting for PeopsSoftGL on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87642 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-23 21:38:13 +00:00
SND\MaddTheSane_cp 0696bb3892 Fix too long plug-in description.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87641 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-23 21:14:38 +00:00
SND\MaddTheSane_cp b03391d71c Since RubyCocoa was removed, using an Objective-C tool to do the same thing.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87637 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-23 18:07:35 +00:00
SND\MaddTheSane_cp 36fed16df1 Minor Hungarian localizable strings update.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87635 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-23 17:15:43 +00:00
SND\MaddTheSane_cp cd7357dc31 Implement localization on some OS X strings, mainly those in the Hungarian locale.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87585 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-20 02:06:38 +00:00
SND\MaddTheSane_cp 3184d31f21 I'll never be happy...
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87584 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-20 01:06:03 +00:00
SND\MaddTheSane_cp d7c12243d5 Some work on the Hungarian Translation for OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87577 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-19 18:32:15 +00:00
SND\MaddTheSane_cp 6450aa6c89 As loathe as I am to do it, making OS X's .strings files into UTF-16.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87573 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-19 04:23:52 +00:00
SND\MaddTheSane_cp 7d9390d20c Initial work on broad localization.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87572 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-19 03:45:15 +00:00
SND\MaddTheSane_cp 435a058c70 Uh, oops.
fixing a bug.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87546 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-18 00:12:03 +00:00
SND\MaddTheSane_cp 503c31a5a6 Fix the configuration window on OS X for English.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87501 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-16 23:29:09 +00:00
SND\MaddTheSane_cp 01c93d0aad Fix OS X’s SysPrintf, when sent strings without a newline. Before, it used NSLog which outputs stuff sent to it one line at a time.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87500 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-16 23:28:05 +00:00
SND\MaddTheSane_cp c05d37d921 Replace the deprecated kIOPMAssertionTypeNoDisplaySleep with kIOPMAssertionTypePreventUserIdleDisplaySleep.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87466 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-16 03:46:29 +00:00
SND\MaddTheSane_cp 609b09af54 Don’t load old pad preferences on OS X if we already have new ones.
Do a quick static analyze when building for release.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87356 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-05 03:15:55 +00:00
SND\MaddTheSane_cp 78e3ae579f Fixing a bug I introduced.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87355 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-05 02:51:42 +00:00
SND\MaddTheSane_cp c305db698d Minor fixes and improvements on OS X code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87354 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-04 22:06:37 +00:00
SND\MaddTheSane_cp 72053c4cec Constraints change.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87333 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-28 21:24:31 +00:00
SND\MaddTheSane_cp 2944fb4a27 Explicitly set the path on the OS X versioning script
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87332 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-28 21:02:58 +00:00
SND\MaddTheSane_cp 2ec47559dd Note to self: build, THEN commit.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87298 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-24 00:10:58 +00:00
SND\MaddTheSane_cp e6d7349967 Continuing to mess with constraints
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87297 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-23 23:54:34 +00:00
SND\MaddTheSane_cp e20c673209 We don’t need to “install” the plug-ins on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87263 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-22 20:45:03 +00:00
SND\MaddTheSane_cp 798a059905 On OS X, strip headers that are in the app: they most likely came from a framework and are unneeded bloat.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87262 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-22 20:43:29 +00:00
SND\MaddTheSane_cp 470766b032 Generate pkginfo unconditionally.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87261 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-22 20:38:45 +00:00
SND\MaddTheSane_cp eebd15b678 Making a more robust version control version tracking.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87260 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-22 19:30:16 +00:00
SND\MaddTheSane_cp c4100b47d3 Messing with the constraints on the file XIBs
Moved the French preference XIB to constraints.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87259 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-22 18:30:59 +00:00
SND\MaddTheSane_cp 009ae6bb17 Updating constraints on OS X XIBs.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87258 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-22 07:00:42 +00:00
SND\MaddTheSane_cp 4915c5c9f9 Take into account if a user closed the emulator window before a new CD became available on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87257 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-22 04:16:10 +00:00
SND\MaddTheSane_cp 2775cc6b0d Fiddling with the Xcode files.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87253 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-20 18:21:07 +00:00
SND\MaddTheSane_cp 9afc013393 Making the (English) Preference window use auto layout.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87252 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-20 17:30:49 +00:00
SND\MaddTheSane_cp f2b205bc7b Migrating xibs to Xcode 5.
Have the icons on OS X be in the new Xcode assets file.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87248 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-20 02:41:25 +00:00
SND\MaddTheSane_cp dc79cd2d5a Minor Xcode change
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87234 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-19 00:36:45 +00:00
SND\MaddTheSane_cp c9797501df Updating the Xcode project using Xcode 5.0.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87233 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-19 00:25:04 +00:00
SND\MaddTheSane_cp 99bb78bfb2 Updating the Info.plist files.
Don't deny directories being open, just in case we get to support UTIs that are OS X packages.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87222 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-17 00:29:11 +00:00
SND\MaddTheSane_cp a5a97b02c0 Wait for a new physical CD to be inserted when ejecting the CD on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87220 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-16 20:31:07 +00:00
SND\MaddTheSane_cp de50d760fd Changing a few Objective C classes to have their ivars hidden.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87167 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-13 21:31:56 +00:00
SND\MaddTheSane_cp 19489aa870 Quieting a warning about small integer size on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87142 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-12 17:50:41 +00:00
SND\MaddTheSane_cp 6d34781f49 Slight modification to OS X's pad plug-in code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87141 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-12 17:37:00 +00:00
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