Commit Graph

69 Commits

Author SHA1 Message Date
adelikat e2033c9d2e AsStatable() and also update statusbar saveslots on CloseRom() 2014-12-05 00:52:16 +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 099f0518bc Fix bug where a quicknes movie would permanently change the core setting 2014-11-19 00:50:50 +00:00
adelikat b0eb4ee791 When loading a movie that specified quicknes or neshawk (or bsnes vs snes9x), don't permanently override the user's core preference 2014-11-09 17:14:16 +00:00
goyuken daf74eb91b framebuffer in movie anchor states 2014-10-27 01:14:47 +00:00
adelikat ad7782df35 Tastudio - A much simpler and less hacky implementation of previous commit, and have Tastudio take over the mainform's RestartMovie method using the IControlMainform interface 2014-10-26 16:36:50 +00:00
adelikat 5adedbee8c a fix to restarting a movie, I broke this in recent commits 2014-10-25 23:11:55 +00:00
adelikat d308a16f8d Tastudio - handle system mismatch error when autoloading 2014-09-28 01:05:26 +00:00
adelikat da7cb4ec59 when loading a movie, gracefully handle a movie/rom system id mismatch 2014-09-27 15:49:39 +00:00
kylelyk 321c8c64bf Added documentation to IControlMainForm, renamed a few variables, moved IControlMainForm related code in MainForm to the same region. 2014-08-19 19:24:17 +00:00
adelikat a57750f6ce Call UpdateStatusSlots from SetMainFormMovieInfo since slots change too when a movie status changes 2014-08-19 15:42:37 +00:00
adelikat 3880c45398 Fixing Recording from "now", for the 500th time 2014-08-16 15:01:53 +00:00
adelikat ae233f623e Fix Restart Movie/Play from Beginning 2014-08-02 19:29:40 +00:00
adelikat bcd78cc4b8 Round 1 of Movie loading system overhaul, this fixes the problem of loading sram when a movie is loaded. Still todo: some cleanup of some hacks that are no longer needed, and restoring the ability to open the play movie dialog and other things, while a movie is active 2014-08-02 15:32:48 +00:00
adelikat 9b3f4c28e6 if starting a movie from savestate, reset the core counters 2014-08-01 01:53:22 +00:00
adelikat 43d9f77fd6 this is mostly a hack, but fixes loading a rom when a movie is still running 2014-08-01 01:34:40 +00:00
adelikat c7f3d9796a logic for switching to snes9x or bsnes when loading a movie based on the movie's core property 2014-07-29 02:15:48 +00:00
adelikat 6bad2d9427 Fix the "Null" window text bug. Part of the problem was scattered logic that sets the text, so I refactored to have a single function that does window text setting logic 2014-07-21 20:34:53 +00:00
adelikat fc729ac7f1 Update statusbar saveslots when loading and stopping a movie 2014-07-21 00:52:11 +00:00
adelikat b53cc908b8 Add options to how to handle the ending of movie playback, in addition to finished mode, it can now pause, stop, or switch to record. TAStudio - automatically override user's preference with switch to record (and restore their setting when disengaging tastudio 2014-07-14 00:35:33 +00:00
adelikat 8ab278535e movies - oops, don't load a pre-existing movie of the same path, when starting a new recording, I introduced that problem some commits ago 2014-07-13 20:33:20 +00:00
adelikat 2ae2f5dce2 Let TAStudio take control of the Mainform StopMovie function 2014-07-10 19:51:36 +00:00
adelikat bccf0e8c3b movie - hack to fix stuff, but it means movies get loaded from disk at least twice 2014-07-08 15:18:17 +00:00
adelikat cb3e340a1a Movie stuff 2014-07-08 15:15:35 +00:00
adelikat 7e39e67b1f tastudio - more fixes to startup logic, still convolted, buggy and wrong, but better! 2014-07-08 13:46:59 +00:00
adelikat 84b8fa36f2 TAStudio - more stuff 2014-07-07 19:48:58 +00:00
adelikat e6acadf118 Don't allow movie to be loaded if it doesn't match the current system, since that causes core specific mayhem. Also make a movie loading hack a bit more logical 2014-07-04 13:07:21 +00:00
adelikat dbf89440f6 Simplify some movie related client code 2014-06-29 02:12:23 +00:00
adelikat 269b3c7ee1 start a new Virtual Pad Tool, currently only does NES with one controller as a proof of concept, this is probably a messed up commit will fix next 2014-06-22 13:57:23 +00:00
adelikat 10c48bb3f8 Bk2 - take the log key into account when replaying a movie input log 2014-06-21 14:33:33 +00:00
goyuken 71ddbde18d bk2 savestate anchor stuff 2014-06-20 00:39:46 +00:00
adelikat ac2ea9f6e0 Fix non-bk2 movie loading 2014-06-19 01:47:22 +00:00
adelikat 2774e9c252 Add a "Don't ask me again" checkbox on the Performance core recording nag 2014-06-14 02:23:13 +00:00
adelikat e54d68edb8 if a user attempts to record a movie on the snes performance core, suggest they switch to compatibility, but give them the option to proceed if they wish 2014-06-14 01:37:20 +00:00
adelikat bc157d0118 Movies 2.0 - last bit of cleanup in emuhawk to make everything based on IMovie. The only references to Movie.cs are just in the importer. 2014-06-12 23:22:15 +00:00
adelikat a682c667dd Nuke IMovieHeader, put necessary methods into IMovie instead, and some todos on trouble spots for movie 2.0 2014-06-11 01:41:41 +00:00
adelikat 47d5b1e2e2 Movie Savestate blob from IMovieHeader to IMovie, Movie and TasMovie just use the MovieHeader object as usual, but at least the calling code no longer expects that 2014-06-11 00:41:20 +00:00
adelikat 6b2889957a Some refactoring of movie code to make the Header less implementation specific, and start Movie2.cs which will be a Movie 2.0 implementation 2014-06-08 22:12:15 +00:00
adelikat 626a3627b6 When recording a new movie, use the Released flag in the core meta-data to determine if the Beta-status nag appears, rather than a hardcoded list of cores 2014-06-01 00:40:13 +00:00
adelikat c211533b20 When playing a movie, don't override the user's Neshawk/Quicknes setting unless it is specified in the movie header 2014-05-29 12:25:42 +00:00
adelikat 4086eee72d Load Rom - actually pass in the deterministic emulation flag, and change the logic so that the client derives determinstic emulation (currently just if a movie is active), but can be passed in an override if calling code wanted to. 2014-05-24 22:06:08 +00:00
adelikat 33d847e8ac rip out hacks that I put in to work around Game.Name being null 2014-05-23 16:22:24 +00:00
goyuken 0190cf8c61 woops 2014-05-18 17:19:38 +00:00
goyuken 16a347565b movie: rework how sinksettings are saved/loaded 2014-05-18 17:15:51 +00:00
adelikat e96b81d7ab Rip out some "movies 1.0" hacks 2014-05-18 16:28:56 +00:00
adelikat fe7a2b44f8 Load and Seting sync settings from a movie when loading it. Still to do: Rip out movies 1.0 hacks 2014-05-18 15:54:56 +00:00
adelikat ac7ed11835 Fix mainform text property when you have a movie loaded and a rom not in the gamedb, this was a quick and dirty fix 2014-05-16 01:03:22 +00:00
zeromus d30d93849d fix "RestartMovie" which besides StartNewMovie also loaded the savestate. I think that's all of them, though 2014-04-25 21:43:29 +00:00
zeromus c47a0c7426 make movie header savestates be binary, have their own key, and be stored in base64 form (actually, natt was right, they were stored as text, it's just that the "text" savestates from some cores are a ToHex'd byte array) 2014-04-25 02:19:46 +00:00
adelikat f155375d3e Set the Neshawk vs quicknes flag before loading a movie, using the setting in the movie 2014-04-22 01:16:11 +00:00