summaryrefslogtreecommitdiff
path: root/macosx/main.m
Commit message (Collapse)AuthorAgeFilesLines
* OS X: Move source files to their own folder.SND\MaddTheSane_cp2014-07-201-311/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90999 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: minor code changes and improvements.SND\MaddTheSane_cp2014-06-061-2/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90607 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: Add a comment.SND\MaddTheSane_cp2014-04-081-0/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89829 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X:SND\MaddTheSane_cp2014-04-021-2/+2
| | | | | | | Stop the memory card images from animating when the preferences window closes. Other changes and improvements. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89782 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: Check for an RTFD credits in the plug-ins.SND\MaddTheSane_cp2014-03-031-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89252 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Better checking if we are launched from the Finder if we are on Mavericks. ↵SND\MaddTheSane_cp2013-12-301-6/+39
| | | | | | Code adapted from the 1.2 fork of SDL. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88202 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Some code changes.SND\MaddTheSane_cp2013-12-021-0/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88035 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Removing old, outdated comments.SND\MaddTheSane_cp2013-12-021-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88034 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Some more OS X refinement.SND\MaddTheSane_cp2013-11-271-10/+13
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87984 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Minor changes.SND\MaddTheSane_cp2013-11-271-18/+5
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87983 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Bleh, the emulog was being needlessly verbose.SND\MaddTheSane_cp2013-10-261-2/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87669 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Uh, oops.SND\MaddTheSane_cp2013-10-181-1/+1
| | | | | | fixing a bug. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87546 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Fix OS X’s SysPrintf, when sent strings without a newline. Before, it used ↵SND\MaddTheSane_cp2013-10-161-5/+29
| | | | | | 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
* Replace the deprecated kIOPMAssertionTypeNoDisplaySleep with ↵SND\MaddTheSane_cp2013-10-161-12/+21
| | | | | | kIOPMAssertionTypePreventUserIdleDisplaySleep. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87466 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Convert Objective-C code to modern syntax, mainly for the NSDictionaries.SND\MaddTheSane_cp2013-09-101-2/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87115 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Remove 32-bit support on OS X.SND\MaddTheSane_cp2013-09-101-3/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87114 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* uncomment out some code: it no longer crashes.SND\MaddTheSane_cp2013-08-261-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86941 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Adding an info.plist for the shared spu library on OS X.SND\MaddTheSane_cp2013-08-261-2/+1
| | | | | | 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
* Unloading bundles with Objective C classes is dangerous. Let's not unload ↵SND\MaddTheSane_cp2013-08-211-1/+1
| | | | | | the plug-in at all. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86810 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* fixing the wrong project being non-arc.SND\MaddTheSane_cp2013-07-261-19/+15
| | | | | | 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
* Minor changes on OS X code.SND\MaddTheSane_cp2013-07-241-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86216 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Fix debug messages when the debug file pointer isn't inited on OS X. This ↵SND\MaddTheSane_cp2013-07-201-3/+6
| | | | | | only affects the Debug build. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86181 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Remvoing SysPrintfs that I missed from Cocoa code the last time I did this.SND\MaddTheSane_cp2013-07-111-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85968 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Revert some SysPrintfs in OS X to NSLogs.SND\MaddTheSane_cp2013-07-111-49/+24
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85963 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Define PADhandleKey in OS X's main.m file.SND\MaddTheSane_cp2013-07-101-2/+4
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85952 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Tab and spacing changes.SND\MaddTheSane_cp2013-07-101-14/+14
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85950 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* minor code tweaks.SND\MaddTheSane_cp2013-07-101-8/+27
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85949 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Future work to get PADhandleKey working on OS X. Still very much a ↵SND\MaddTheSane_cp2013-07-091-0/+5
| | | | | | work-in-progress. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85937 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Some more work on PCSXR's logging on OS X.SND\MaddTheSane_cp2013-07-091-28/+67
| | | | | | More fiddling with the configuration window. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85935 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Changing a lot of NSLogs to SysPrintf on OS X's PCSXR.SND\MaddTheSane_cp2013-07-091-4/+12
| | | | | | | | | 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
* Various updates and improvements to OS X code.SND\MaddTheSane_cp2013-07-081-0/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85894 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Implement compaction of memory cards.SND\MaddTheSane_cp2013-07-081-0/+4
| | | | | | Other assorted bug fixes. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85890 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Change some +stringWithCString and -initWithCString:encoding: to modern ↵SND\MaddTheSane_cp2013-07-051-3/+3
| | | | | | | | | | 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
* Consolidate the plug-ins in OS X into the main PCSXR project.SND\MaddTheSane_cp2013-07-051-0/+8
| | | | | | Add debugging info for SysLibError on OS X. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85835 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Ignore files passed via the command line if we're parsing.SND\MaddTheSane_cp2013-06-221-12/+5
| | | | | | | 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
* Adding some rudimentary command line support for OS XSND\MaddTheSane_cp2013-06-221-3/+23
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85486 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Make OS X's localization implementation functions match the signature of ↵SND\MaddTheSane_cp2013-03-031-2/+2
| | | | | | gettext. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83305 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Use strlcpy on OS X code.SND\MaddTheSane_cp2013-01-101-2/+2
| | | | | | > 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
* Use ARC in 64-bit mode on the Mac.SND\MaddTheSane_cp2013-01-091-3/+4
| | | | | | | | | | 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
* 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
* Mac Patch 13437.SND\MaddTheSane_cp2012-12-151-0/+4
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81770 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Quieting a warning in OS X localization implementation.SND\MaddTheSane_cp2012-09-231-1/+1
| | | | | | | 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
* Uncomment out dlclose in SysCloseLibrary.SND\MaddTheSane_cp2011-12-181-1/+1
| | | | | | 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
* First steps for localization support for Mac OS X/Cocoa, including:SND\MaddTheSane_cp2011-11-171-0/+8
| | | | | | | | | | Localizable.strings files for each plug-in. Try to get localizable string from a c string (see Pcsxr_locale_text in main.m). Each Mac plug-in now has a Principal class declaration in their Info.plist Also updated the memory card extensions git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72361 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Use Power Assertions on both 32-bit and 64-bit.SND\MaddTheSane_cp2011-11-121-18/+4
| | | | | | Since we have upped the system requirements to 10.6, this shouldn't cause any problems. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72222 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Patch 10804, 10805 (MaddTheSane).SND\edgbla_cp2011-11-121-5/+6
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72189 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Patch 10767 (Durandal_1707).SND\edgbla_cp2011-11-091-9/+9
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72138 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@67977 ↵SND\edgbla_cp2011-06-191-0/+2
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@63551 ↵SND\weimingzhi_cp2011-02-191-2/+7
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* -Reverted some changes to make the code build again on Tiger.SND\weimingzhi_cp2011-02-191-2/+9
| | | | | | | | -Removed x86_64 from Deployment configuration. -macosx: Use SDL for sound plugin, removed Carbon backend. -(MaddTheSane)Fixed memory leaks (Patch #8427). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@63548 e17a0e51-4ae3-4d35-97c3-1a29b211df97