Commit Graph

97 Commits

Author SHA1 Message Date
adelikat 656f2b814e Move IEmulator extensions to the Emulation.Common namespace, the intent is that these are used and serve as built in functionality, so it's overly tedious to when most situations require both Common and an additional extensions namespace 2020-02-15 12:33:15 -06:00
adelikat 6990b6f51f when loading GB/GBC movies, store the core and auto-switch between gamebatte and gbHawk, fixes #1805 2020-02-02 12:27:45 -06:00
adelikat 880f584674 cleanup variable naming in IMovieSession 2020-02-02 12:19:41 -06:00
adelikat ef13754f79 consistent variable naming in config.cs 2020-01-25 10:57:39 -06:00
adelikat b80b367831 refactor IMovie to expose the movie mode, and make extension methods that do IsPlaying type logic. This way there can be direct checks, and more variety of methods without cluttering the interface 2019-12-21 16:34:29 -06:00
adelikat 8f6f8f72cb MainForm - more getter properties for globals 2019-12-20 10:07:08 -06:00
adelikat 62ab716a5d MainForm - convert some commonly used globals to properties that reference the global. A step twards the global not being there at all and mainform managing the passing of dependencies 2019-12-20 09:29:33 -06:00
adelikat 7ba8af1cb9 use AddOnScreenMessage method in other mainform files 2019-12-20 07:31:03 -06:00
adelikat 64f32983f6 misc movie code cleanups 2019-11-25 08:37:11 -06:00
J.D. Purcell 39b54f7202 Fix missing UI usings. 2019-11-02 00:38:50 -04:00
adelikat eaef336492 rip out IStateManager.MountForWriteAccess() and simplify 2019-06-15 16:06:35 -05:00
alyosha-tas 655729f29c TAStudio: orderly shutdown if starting TAStudio returned nullEmulator. 2019-04-21 08:46:50 -04:00
J.D. Purcell 0d853fd74a MainForm cleanups. 2017-04-29 15:18:08 -04:00
feos 60d69db588 tastudio: stop crashing upon movie platform mismatch
make the error window topmost
2017-02-19 00:26:42 +03:00
adelikat d95df349a1 use the Emulator property in more places in MainForm, also disable the VS settings menu item if current NES rom is not a VS rom 2016-12-04 11:27:26 -06:00
adelikat 604ed74ff9 remove some usages of VideoProviderGlue by checking for VideoProvider availability before doing some dependent processes 2016-12-04 10:30:51 -06:00
zeromus 1a1a688b96 remove NeedsToPaint; client now repaints ~100fps while paused all the time. as it already did when input display was enabled. fixes #615.. probably 2016-04-20 12:17:41 -05:00
zeromus 7651f418fe usably functional libretro player 2015-11-07 00:14:59 -06:00
zeromus b981e00889 fully support read-only movie opening. I hope this fixes #453 2015-08-05 17:00:39 -05:00
adelikat 490adc905e Support recording movies that start from SaveRam, note: as of this changeset tastudio does not support this concept and may interact in weird ways with saveram-anchored movies 2015-07-26 15:41:22 -04:00
adelikat 2f6265fc9d When loading a movie, look for a movie/rom hash mismatch and add an OSD message 2015-07-19 16:40:55 -04:00
adelikat c23e69a810 When loading GBA movies, load the correct core too 2015-06-21 13:32:53 +00:00
SuuperW 52659ac9a9 -Hacky removal of a useless save when loading a TasProj
-Made ControlsOrdered much faster
2015-03-23 21:16:13 +00:00
adelikat 06d9fd7b06 EmuHawk - Remove unnecessary use of GlobalWin.Mainform in the mainform itself 2015-03-06 02:06:19 +00:00
adelikat 415e3e3a14 MultiHawk - fix up frame counter when a movie is active 2015-03-06 00:48:31 +00:00
adelikat fd1621a536 pass in an Emulator instance to QueueNewMovie() 2015-02-22 19:57:24 +00:00
adelikat f3c29e5bc2 replace some references to GlobalWin.MainForm in MainForm itself, because that makes no sense. 2015-02-22 03:26:00 +00:00
goyuken 82fcd0bc5e refactor IVideoProvider into a service. uses in mainform and friends are still hacky 2015-01-14 22:37:37 +00:00
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