summaryrefslogtreecommitdiff
path: root/macosx/PcsxrMemoryObject.m
Commit message (Collapse)AuthorAgeFilesLines
* OS X: Move source files to their own folder.SND\MaddTheSane_cp2014-07-201-323/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90999 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: implement the metadata (Spotlight) importer for the memory cards.SND\MaddTheSane_cp2014-06-061-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90603 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: Minor changesSND\MaddTheSane_cp2014-05-221-2/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90493 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X:SND\MaddTheSane_cp2014-04-021-7/+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
* Changing a few Objective C classes to have their ivars hidden.SND\MaddTheSane_cp2013-09-131-8/+3
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87167 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Convert Objective-C code to modern syntax, mainly for the NSDictionaries.SND\MaddTheSane_cp2013-09-101-1/+1
| | | | 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-24/+5
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87114 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Better prefs managing on the main app.SND\MaddTheSane_cp2013-08-301-5/+5
| | | | | | 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
* Fix OS X 10.8-only behavior in the XGL plug-in.SND\MaddTheSane_cp2013-08-211-4/+4
| | | | | | | | | 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
* Revert some SysPrintfs in OS X to NSLogs.SND\MaddTheSane_cp2013-07-111-2/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85963 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* minor code tweaks.SND\MaddTheSane_cp2013-07-101-1/+4
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85949 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Changing a lot of NSLogs to SysPrintf on OS X's PCSXR.SND\MaddTheSane_cp2013-07-091-7/+2
| | | | | | | | | 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
* Clang apparently doesn't respond to -falign-loops or -finline-limit. ↵SND\MaddTheSane_cp2013-07-081-2/+2
| | | | | | | | 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
* Various updates and improvements to OS X code.SND\MaddTheSane_cp2013-07-081-7/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85894 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Rewriting the memory card management on OS X. It's lacking copy capability ↵SND\MaddTheSane_cp2013-07-081-35/+60
| | | | | | right now, though. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85886 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Get multi-block save copying working correctly on OS X.SND\MaddTheSane_cp2013-07-061-24/+50
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85876 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Rehauling the memory card object in preperation for fixing the memory card ↵SND\MaddTheSane_cp2013-07-061-17/+155
| | | | | | manager. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85872 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Minor OS X changes.SND\MaddTheSane_cp2013-07-061-38/+34
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85869 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Making the SIO plug-ins work on OS X.SND\MaddTheSane_cp2013-07-051-2/+4
| | | | | | | 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
* Mess around with OS X memory objects:SND\MaddTheSane_cp2013-07-031-4/+31
| | | | | | | 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
* Even more work on the memory card management.SND\MaddTheSane_cp2013-06-261-3/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85558 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Making the memImage property readonly in the header, but readwrite in the ↵SND\MaddTheSane_cp2013-06-251-0/+1
| | | | | | main file, WITHOUT mangling the setter. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85557 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Implement creating and selecting memory cards in the memory card manager.SND\MaddTheSane_cp2013-06-251-27/+25
| | | | | | 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
* Add animated memory card icons on OS XSND\MaddTheSane_cp2013-06-251-14/+61
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85554 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Removing commented-out code in the memory object.SND\MaddTheSane_cp2013-06-251-17/+3
| | | | | | 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
* Modify the Memory Object class a little bit. Some minor changes.SND\MaddTheSane_cp2013-06-221-17/+28
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85493 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Use ARC in 64-bit mode on the Mac.SND\MaddTheSane_cp2013-01-091-3/+6
| | | | | | | | | | 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
* Thinning down PcsxrMemoryObject header down even more.SND\MaddTheSane_cp2011-12-261-0/+2
| | | | | | Making PcsxrMemoryObject only export getters. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73753 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Adding my name to the Coders list in Credits.rtf.SND\MaddTheSane_cp2011-12-201-11/+11
| | | | | | 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
* Moving things around in the Memory manager for Mac OS X.SND\MaddTheSane_cp2011-12-091-1/+73
| | | | | | 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
* Fixed the improperly-labeled deleted display on blocks.SND\MaddTheSane_cp2011-11-261-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72655 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Fix a missing [super dealloc] call.SND\MaddTheSane_cp2011-11-261-0/+2
| | | | | | | | 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
* Fixed off-by-one bug.SND\MaddTheSane_cp2011-11-261-0/+1
| | | | | | Show if a block is deleted or not. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72646 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* The Memory card editor for Mac OS X should be up and running now.SND\MaddTheSane_cp2011-11-251-0/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72644 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* First steps to make a memory card manager for Mac.SND\MaddTheSane_cp2011-11-241-0/+25
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