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
4b7a7dd293
Make Binary states default and Textstates opt-in for cores ( #1848 )
...
* Rewind & State config - remove the default option
* remove the savestate type of default, not that this is a breaking config change for anyone that had specifically set savestates to text
* remove BinaryStatesPreferred from IStatable and use config setting when starting movies from "Now" in record movie dialog
* remove BinaryStatesPreferred from cores
* make text savestates an extension method off of IStatable and an inteface ITextStatable it uses if the core implements it. This will allow cores to opt in to text states if desired
* make cores with actual text savestate impleemntations get ITextStatable, remove text state logic from cores that just have a binary as as text implementation
2020-02-15 10:22:26 -06:00
adelikat
45221eb0ad
do non-timeline movie state logic after the core is loaded, fixes input display when loading a state in read-only mode, which has been broken since 2014
2020-02-02 11:52:05 -06:00
adelikat
4c9ebf6ed4
MovieSession - rename hacky step 1 and 2 to meaningful names
2020-02-02 11:39:54 -06:00
adelikat
3d833af617
break out enums from Config.cs
2020-01-21 09:02:42 -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
64f32983f6
misc movie code cleanups
2019-11-25 08:37:11 -06:00
adelikat
3b9e54c250
refactor TasLagLog to allow for gaps in the history. Note that this is a breaking .tasproj format change currently
2019-06-15 12:11:52 -05:00
nattthebear
f99a080e60
Merge remote-tracking branch 'origin/master' into waterbox2
...
# Conflicts:
# BizHawk.Client.EmuHawk/MainForm.Designer.cs
# BizHawk.Client.EmuHawk/MainForm.cs
2017-05-29 14:35:30 -04:00
nattthebear
7071d74416
cut some old savestate cruft
2017-05-27 19:58:22 -04:00
adelikat
43cb50d5c3
Misc cleanups in Client.Common
2017-05-19 13:17:07 -05:00
adelikat
dfea029fe4
Misc cleanups in Client.Common, documentation fixes
2017-05-17 11:16:55 -05:00
nattthebear
ebe789eed2
heh
2017-05-10 07:45:23 -04:00
adelikat
5a408f9321
Remove the obsolete BinaryStateLoader.HasLump()
2017-04-24 13:18:45 -05:00
adelikat
b6f335e4c8
misc code cleanups in BizHawk.Client.Common
2017-04-14 14:59:01 -05: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
95bc69b448
some prepwork for opengl texture ID importing (skip rendertarget resolve on OGL display method) but there are still problems and it can't be enabled yet
2016-02-22 00:23:20 -06:00
adelikat
4188f2105e
Tastudio - branches - ability to load a branch, currently the frame buffer does not have OSD info
2015-07-19 10:37:53 -04:00
adelikat
ebe23ada64
Tastudio - save the lag log into regular mainform produced savestates
2015-07-18 09:48:14 -04:00
adelikat
e03da4f5fe
Lua - add a userdata library, with basic api for a script to add arbitruary data to a dictionary. This dictionary is saved and loaded in savestates (if present). Scripts can use this to create counters and whatnot that need data saved in savestates
2015-06-30 18:54:42 -04:00
adelikat
29fc42ec71
Better UI for low res large screenshot feature
2015-02-23 23:43:51 +00:00
goyuken
30fea2e6a7
screenshot: add optimized hotpath for original size screenshots
2015-02-17 02:31:56 +00:00
goyuken
ad08c0abfb
minimally connect up new screenshot code
2015-02-17 02:08:08 +00:00
goyuken
f956b3257f
savestate framebuffer as bmp with customizable size
2015-02-02 00:25:50 +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
2f51331ca8
Fix a nasty bug in movie loadstate behavior
2014-11-09 15:48:06 +00:00
goyuken
daf74eb91b
framebuffer in movie anchor states
2014-10-27 01:14:47 +00:00
goyuken
4ee816e8bc
code to use 7zip (unmanaged) to write archives, not active for the moment, still stuff to do
2014-10-12 04:24:31 +00:00
goyuken
277b277c2e
benchmark savestate time to console
2014-10-09 01:49:44 +00:00
adelikat
a85b1d58a1
Don't bomb out when a core throws an exception on loadstate, still todo: bubble the error message up, instead of just telling them there was an error
2014-09-07 15:17:47 +00:00
adelikat
1c0eca190e
Remove some unused extensions, Remove Extensions.cs and move methods into better named files with their own namespaces
2014-07-03 18:54:53 +00:00
adelikat
47514784eb
Separate stream and writer extensions to an IOExtensions object and namespace
2014-07-03 17:13:09 +00:00
goyuken
e39b2af5e7
text savestates are now in the archive format, just like binary ones. loading of old savestates is preserved. this hasn't been fully audited wrt movie code
2014-06-16 21:19:48 +00:00
adelikat
4b6c9b5b80
Save Screenshot in savestates toggle - add a "big" savestates option off by default and set to 128kb as a somewhat arbitruary value (only reached on n64 at 640x480 or higher most likely)
2014-05-07 01:36:19 +00:00
zeromus
09daa3f939
fix read+write mode binary loadstate exception bug?
2014-04-18 17:41:14 +00:00
adelikat
02ea7d360f
some code cleanup
2014-02-22 23:59:52 +00:00
adelikat
2f28317f92
A round of code cleanup
2014-01-08 03:53:53 +00:00
goyuken
8bd8af15fe
clean up the binary save state api a bit
2013-12-17 21:26:15 +00:00
goyuken
d0cb81fbfc
add some real versioning to binary savestates. also make binary savestates able to store text savestate data as well, so they're more accurately called "zip" savestates. at the moment, zip savestates are always binary, but the code exists for future use.
2013-12-07 21:23:23 +00:00
adelikat
f3bb7421ed
detangle and move some savestate code to client.common
2013-11-01 20:53:47 +00:00
adelikat
80c6ecb57a
Rename SavestateManager to SaveSlotManager since that is more precisely the job it does.
2013-11-01 19:55:03 +00:00
zeromus
fa40ae718f
reapply edits and cleanup
2013-10-27 07:54:00 +00:00
zeromus
11dbb0e1c8
reapply moves with merge tracking
2013-10-27 07:52:20 +00:00
zeromus
179dbd4124
revert back to r5156
2013-10-27 07:45:59 +00:00
adelikat
c5b2f284b5
Starts some mainform code cleanup, and add some menu tweaks: loadstate submenu - disable non-existent slots, savestate submenu - bold slots that already have savestates saved to them
2013-10-26 15:57:43 +00:00
adelikat
0edfc03e34
fix SaveStateManager, oops. Also move BinarySavestate to client.common
2013-10-25 16:53:34 +00:00
adelikat
3e429736d5
Move PathManager and SavestateManager to Client.Common, also remove the dependency for System.Web in PathManager by doing a more logical way of getting the executing assembly path
2013-10-25 16:00:34 +00:00