summaryrefslogtreecommitdiff
path: root/macosx/PcsxrDiscHandler.m
Commit message (Collapse)AuthorAgeFilesLines
* OS X: Move source files to their own folder.SND\MaddTheSane_cp2014-07-201-58/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90999 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X:SND\MaddTheSane_cp2014-05-261-1/+2
| | | | | | | | include disc image files that use the .bin extension. It’s a hack that I really don’t like, but the issue has been plaguing the OS X port since using UTIs. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90513 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: Fix the disc handler if Vox is installed.SND\MaddTheSane_cp2014-05-211-1/+3
| | | | | | Vox uses its own UTI for cue files. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90465 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* More work on OS X localization.SND\MaddTheSane_cp2013-11-261-1/+1
| | | | | | Some OS X bug fixes. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87971 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Remove 32-bit support on OS X.SND\MaddTheSane_cp2013-09-101-13/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87114 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Changing a lot of NSLogs to SysPrintf on OS X's PCSXR.SND\MaddTheSane_cp2013-07-091-4/+4
| | | | | | | | | 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
* Rework the disc handler on OS X a bit.SND\MaddTheSane_cp2013-07-081-17/+13
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85917 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Various updates and improvements to OS X code.SND\MaddTheSane_cp2013-07-081-1/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85894 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Minor OS X changes.SND\MaddTheSane_cp2013-07-061-1/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85869 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Disable the net plug-in in the freeze state handler on demand.SND\MaddTheSane_cp2013-06-261-3/+25
| | | | | | | 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
* Make OS X use LidInterrupt.SND\MaddTheSane_cp2013-06-201-1/+3
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85469 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Only set the ISO in the disc handler when the emulator is running if we are ↵SND\MaddTheSane_cp2013-02-121-4/+8
| | | | | | using an ISO. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82825 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Use ARC in 64-bit mode on the Mac.SND\MaddTheSane_cp2013-01-091-1/+5
| | | | | | | | | | 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
* Making PCSX-R for Mac handle the added disc image formats.SND\MaddTheSane_cp2013-01-081-1/+1
| | | | | | 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
* Setting end-of-line metadata.SND\MaddTheSane_cp2012-12-241-0/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81971 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Break out of the file handling loop when we reach a handle.SND\MaddTheSane_cp2012-10-311-2/+8
| | | | | | 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
* Make repetitive array creation only happen once on OS X.SND\MaddTheSane_cp2012-05-231-1/+5
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@78288 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Changing the cue UTI to com.goldenhawk.cdrwin-cuesheet from Boxer.SND\MaddTheSane_cp2011-12-281-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73837 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Changed utisCanHandle to supportedUTIs.SND\MaddTheSane_cp2011-12-181-1/+1
| | | | | | 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
* Reduce code duplication in -[PcsxrController application:openFile:].SND\MaddTheSane_cp2011-12-171-0/+5
| | | | | | 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
* Renaming com.codeplex.pcsxr.mdfdisc to com.alcohol-soft.mdfdisc, since the ↵SND\MaddTheSane_cp2011-12-121-0/+23
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