Commit Graph

1026 Commits

Author SHA1 Message Date
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\edgbla_cp c2c0e8eb18 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@78211 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2012-05-21 13:56:31 +00:00
SND\edgbla_cp 9a63e31519 Configuration->CPU->Widescreen (16:9, GTE Hack).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@78188 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-05-20 14:20:39 +00:00
SND\edgbla_cp a603b0692f git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@77577 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2012-04-21 18:03:54 +00:00
SND\dario86_cp 4bf6253973 Removed GXVideo plugin as per original author suggestion.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@77475 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-04-14 11:39:27 +00:00
SND\dario86_cp bebb814b15 CD-XA attenuation hack disabled again due to a collateral bug which causes distorted speech in Resident Evil series.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@75683 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-03-01 01:50:22 +00:00
SND\dario86_cp d05b81a336 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@75587 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2012-02-28 01:27:37 +00:00
SND\dario86_cp 08808076c8 - reenabled CD-XA streaming hack by shalma; fixes sound in Final Fantasy Tactics, Ridge Racer Type 4 opening sequence and other games (issue #8067);
- reenabled CD-XA attenuation by shalma; CD-XA fading effect supported in the main menu in Resident Evil, at the end of the fight in Tekken 3 and in Street Fighter Alpha 3 (issue #9593).

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@75584 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-02-27 23:44:39 +00:00
SND\dario86_cp b856e43a18 GXVideo graphics plugin is buggy and unmantained - disabled by default.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@75519 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-02-26 15:51:12 +00:00
SND\dario86_cp 15f1bd5338 Updated Free Software Foundation address in two more files (Jem256).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@75200 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-02-19 19:17:01 +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 12ddb091ed Get rid of parentheses around IsConst and IsMapped macros. Quiets a warning on Clang.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73976 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-31 21:46:51 +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 b205e6323f DFSound: change extern inlines to static inlines.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73330 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-16 02:22:49 +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