Commit Graph

8140 Commits

Author SHA1 Message Date
adelikat 9e7193f8b2 Virtualpad is fine during null emulator don't disable the menu item, useless but nothing bad happens. Tastudio menu item should be disabled if core is not an IStatable 2014-11-30 18:06:26 +00:00
adelikat a442e879d3 Named Savestate save/load methods - check HasSaveStates() not IsNull() 2014-11-30 18:03:02 +00:00
goyuken d582161d82 allow av recording and screenshots of null emulator (static screen) 2014-11-30 17:58:37 +00:00
adelikat 1e5474c345 SaveSlotManager - check HasSavestate() not IsNull() 2014-11-30 17:58:26 +00:00
adelikat eed16fafc8 TasStateManager - don't check for null emulator nor IStatable, fail catastrophically if a core is not IStatable, they shouldn't have gotten this far if it wasn't 2014-11-30 17:54:21 +00:00
adelikat 70a9b535f5 check HasSavestates() on some save and loadstate calls that can be accessed via lua (and other stuff) 2014-11-30 17:51:16 +00:00
adelikat 65249ad0f9 MainForm - File Menu - disable savestate related submenus if core does not implement IStatable 2014-11-30 17:41:24 +00:00
adelikat bdccb6d400 Record Movie - remove the "Now" option if the core doesn't implement IStatable 2014-11-30 17:37:22 +00:00
adelikat ce3f7ae3ac Atari 2600/7800 - break off IStatable stuff 2014-11-30 17:10:36 +00:00
adelikat 6a3955bde0 oops 2014-11-30 16:57:34 +00:00
adelikat 84bae6bf03 Make C64 follow the naming convention of other cores 2014-11-30 16:56:45 +00:00
adelikat 093180f652 TI83 - break off code into TI83.IStatable.cs 2014-11-30 16:52:25 +00:00
adelikat 76148ae111 Break off savestate functionality from IEmulator into IStatable and refactor things accordingly. Still todo (a big todo): EmuHawk should gracefully handle a core that is not an IStatable by disabling functionality dependent upon it (Savestates, Rewind, Tastudio, etc) 2014-11-30 16:42:58 +00:00
adelikat 230cd3fb6a remove a warning 2014-11-30 16:04:38 +00:00
adelikat a251cacce6 Atari 7800 - break up implementations into separate files and some other reorg 2014-11-30 16:01:01 +00:00
adelikat 135752a215 remove not implemented IMemoryDomains implemented from PSP, and just not implement the interface instead 2014-11-30 15:46:55 +00:00
adelikat 295800957c Some nitpicky reorg on Atari 2600 and TI83 2014-11-30 15:43:58 +00:00
adelikat 5d512c4c5d N64 - break off ICoreService implementations into separate files 2014-11-30 15:38:39 +00:00
adelikat 865795049b Break off saveram methods from IEmulator into a separate ISaveRam interface. Remove the setter for SaveRamModified (every single core was throwing an error on this, and no client code was using it). Remove these methods from cores that don't actually implement this interface 2014-11-30 15:22:08 +00:00
adelikat 9422f02fa2 Feature List - hook up the ThrowsError() extension to IsImplemented 2014-11-30 14:52:52 +00:00
adelikat e1a90430ea refactor MainForm.cs SaveStateAs() to use object initializer syntax 2014-11-30 14:21:11 +00:00
adelikat 4681fef0c2 Add an IsNull() extension method to IEmulator (checks for null and if NullEmulator) and replace EmuHawk NullEmulator checks with this method instead 2014-11-30 14:18:44 +00:00
adelikat 8c4e0f1203 Move some extension methods to a better location 2014-11-30 14:04:00 +00:00
zeromus 92243cd393 neshawk - add PPU reset to soft reset, to fix #327 2014-11-30 05:02:12 +00:00
goyuken ff54192fdc fix missing movie extension for game names that have a . at Length-4 2014-11-30 04:02:31 +00:00
goyuken 8271da0855 fix crash trying to use snes bg hotkeys when snes is not loaded 2014-11-29 21:06:15 +00:00
goyuken b21cfdd927 ward off possible bugs 2014-11-29 19:36:11 +00:00
goyuken 0b16e36776 fix issue 330 2014-11-29 18:57:57 +00:00
adelikat a26e36719a Don't allow drag and drop of a movie file if a movie is already active 2014-11-29 00:59:14 +00:00
adelikat fdc9ea2aa9 fix issue 326 - Ram Watch, Ram Search showing actual value instead of frozen value on frozen addresses 2014-11-29 00:45:38 +00:00
adelikat 7c83b91e83 Ram Watch - fix a bug where loading a watch file with separators would throw a null reference exception 2014-11-29 00:28:48 +00:00
goyuken 70fc923d2c fix savestate speed regression accidentally introduced with r8117 2014-11-28 17:36:05 +00:00
goyuken 6d04f9089a NES: show more informative error logs for certain INES header screwballs 2014-11-27 18:03:00 +00:00
adelikat 96b626434f Lua Console - on drag and drop, don't be case sensitive with the file extension 2014-11-26 17:42:30 +00:00
zeromus 16896dc858 use nearest neighbor filtering when resizing an avi dump without padding, instead of bilinear. 2014-11-25 19:34:27 +00:00
goyuken 50c4414a93 confirm a few sizes in firmware database 2014-11-24 23:18:05 +00:00
zeromus 17d67fa366 small clarifications to firmware DB 2014-11-24 23:13:54 +00:00
scepheo 2c79016725 Added ThrowsError() and IsEmpty() extension methods for MethodInfo. 2014-11-24 19:51:27 +00:00
goyuken 9c02bf77ba wonderswan: clear out unused code for clear saveram 2014-11-24 18:50:18 +00:00
adelikat 0e82fff3ff Clean out ClearSaveRam() calls since they are no longer used 2014-11-24 15:00:54 +00:00
goyuken baa1556836 remove IEmulator.ClearSaveRam() from the interface 2014-11-24 02:22:47 +00:00
adelikat 9c285e3e3a Put NotImplemented attribute on a bunch of things, and remove IMemoryDomains from a few cores that were implementing it but throwing a NotImplementedException 2014-11-24 01:17:05 +00:00
adelikat 72cf4ed5e1 Intellivision - mark not implemented stuff 2014-11-24 01:05:47 +00:00
adelikat bded999177 Create a FeatureNotImplemented attribute, the intend of which is to apply to any unimplemented method of an ICoreService method/property, set some methods in Intellivision to this, and have CoreFeatureAnalysis look for the presence of this attribute and report unimplemented properties/methods 2014-11-24 00:38:29 +00:00
adelikat 56d425d49f Core Features form - show icons based on completeness 2014-11-23 23:35:00 +00:00
goyuken c21b3a8a34 internal infrastructure 2014-11-23 22:20:55 +00:00
adelikat ada9ca6fb9 Core Features dialog - properly determine if a core is ISettable, don't add properties and fields if the interface isn't implemented anyway 2014-11-23 22:04:34 +00:00
adelikat 189de87e8e Start a core features dialog in Help, only visible in developer mode (currently). Uses reflection to see what ICoreService implementations are implemented by which cores 2014-11-23 21:46:28 +00:00
adelikat 4582a88798 Add an ICoreService interface that interfaces such as IEmulator and IDebuggable inherit 2014-11-23 20:30:53 +00:00
goyuken ad1ca57163 comments! 2014-11-23 19:31:22 +00:00