Commit Graph

52 Commits

Author SHA1 Message Date
zeromus 10bceeb0dc Nope, I think it's a good idea now.
Revert "This reverts commit c878c85daeaaf0cae3e28f24bc1a8b511293d7b6."
This reverts commit 1d1f2a18c6.
2020-04-23 21:20:59 -04:00
zeromus 1d1f2a18c6 This reverts commit c878c85dae. 2020-04-23 21:06:12 -04:00
zeromus c878c85dae for your consideration: sync settings return flags instead of a bool, so we can have more granularity in what needs resetting than just "reboot core". for instance, we would like to minimize the number of times the window layout is redone by not doing it when the screen settings havent changed. HOWEVER, while I was writing this commit message, I realized, I should probably do it just by being more cautious in kicking off the layout (unless the data coming from the core has changed, a layout shouldnt happen). So I am going to make this commit, in case it inspires anyone, and then revert it. 2020-04-23 21:05:56 -04:00
adelikat 189a47ad3c move more movie loading logic out of Mainform and into MovieSession and also some extension methods 2020-04-18 11:25:37 -05:00
adelikat 2a9710b63c movie some video provider movie logic into an extension method 2020-04-18 10:49:15 -05:00
adelikat 9494243eef add an IStatable extension method that can load a state directly from a byte array, reduces the stream creation boiler plate in a number of palces 2020-04-18 10:26:08 -05:00
adelikat 32e632851e remove setters from IMemoryDomains MainMemory and SystemBus properties, those shoudln't be set by the calling code, nor were they being used 2020-03-19 14:50:04 -05:00
adelikat 015043fd50 add IRomInfo service 2020-03-14 21:43:53 -05:00
adelikat dd062b3ca7 replace CoreComm screenofsets with an emulator service 2020-03-14 16:35:54 -05:00
adelikat 630858cbd4 misc cleanups in Emulation.Common 2020-03-01 14:39:24 -06:00
adelikat 13bc770063 misc cleanups in Emulation.Common 2020-02-26 16:32:00 -06:00
adelikat bfe7eee43f IStatable - don't inherit IBinaryStateable, I think there was a plan with that interface but it doesn't really have connection with the service interface 2020-02-16 15:18:22 -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
YoshiRulz 7932c401e1
Improve exception docs in BizHawk.Emulation.Common 2020-01-02 21:51:21 +10:00
adelikat 45a777c983 Simplifications and cleanups in Emulation.Common 2019-11-08 09:48:53 -06:00
adelikat 2b7cb1bb7d BizHawk.Emulation.Common - cleanups -> C#6/7isms, fix some typos, variable naming, spaces to tabs 2019-10-29 13:59:08 -05:00
James Groom 779975f689
Use nameof 2019-03-28 14:17:14 +11:00
alyosha-tas cb517aaded Game Linking: resolve #321 2019-02-10 16:22:29 -06:00
nattthebear e8145af463 i hope this breaks something 2018-05-12 12:55:42 -04:00
nattthebear 5b97e5c7f6 Add ICycleTiming interface plus one implementation so I can feel like I did something 2017-08-11 19:42:53 -04:00
nattthebear 9e4462008c break IStateable down because I need just binary for some internal stuff... 2017-05-20 12:09:50 -04:00
zeromus ac767a2acc clarification to the saveram flushing system 2017-05-06 17:50:36 -05:00
adelikat 59139ab266 Spell out Numerator and Denominator 2017-05-05 11:25:38 -05:00
adelikat 62a13d961d Move VsyncNum and VsyncDen out of CoreComm and into IVideoProvider 2017-05-05 11:21:37 -05:00
adelikat 8795b869d7 Englishing 2017-05-02 08:05:59 -05:00
adelikat 08be637131 Remove some unused constants in SpeexResampler, and some meaningles whitespace cleanups 2017-05-02 07:44:23 -05:00
adelikat ded1c2d7b7 Break off BoardName from IEmulator into a separate IBoardInfo service 2017-04-30 21:01:54 -05:00
adelikat 83124a8d20 Fix VerifiedDisassembler to not expose the internal cpu property 2017-04-27 12:02:08 -05:00
adelikat 8eb9d68fa6 Emulation.Comon - misc cleanups 2017-04-27 11:56:33 -05:00
adelikat 352b157801 ITraceable - remove set from the Header property since that is an implementation detail only. Remove commented methods/properties and cleanup documentation to reflect the new specification 2017-04-26 09:13:32 -05:00
adelikat 183f5b0672 Emulation.Common - misc cleanups mostly fixing documentation 2017-04-26 09:10:00 -05:00
adelikat ec545ae3a0 Emulation.Common - misc cleanups 2017-04-26 08:44:52 -05:00
adelikat 167ed41a51 Break up MGBAHawk into separate files 2017-04-25 11:42:03 -05:00
adelikat ba28ca53a8 GambatteLink cleanup 2017-04-25 11:06:50 -05:00
adelikat 76b9367378 more misc cleanups 2017-04-24 07:43:02 -05:00
J.D. Purcell 3d6b1da94d Whitespace only (indentation fixes/cleanup). 2017-04-19 20:34:30 -04:00
adelikat 7ebddc6087 LibsnesCore - break off memory domain stuff to a separate file 2017-04-19 10:51:16 -05:00
adelikat 7b336664b9 fix ups to the documentation of service interfaces 2017-04-19 09:41:26 -05:00
adelikat d1d6c20749 break SNES settings code into its own file 2017-04-19 08:31:48 -05:00
adelikat 7ab8455e84 misc code cleanups in BizHawk.Emulation.Common 2017-04-14 12:28:23 -05:00
adelikat 37c989c661 more misc code cleanups, with some C#6isms 2017-04-10 11:24:53 -05:00
J.D. Purcell b2a28339d1 Use 'nameof' operator. 2017-04-10 08:36:42 -04:00
adelikat ab1a22bf31 add TotalExecutedCycles as an IDebuggable property, and implement it in cores with the information readily available (and throw NotImplementedExecptions in the remaining). wire the property up to lua with emu.totalexecutedcycles(). Stil todo - wire it up to the Debugger gui 2017-01-09 19:23:05 -06:00
adelikat eda79c2212 Make an interface for CodeDataLog, and move CodeDataLog to Base Implementations 2016-12-16 11:33:02 -06:00
adelikat 54eb678387 create an ICreateGameDBEntires specialized service and have Atari2600 implement it. Use this in the log window instead of sneaky reflection to access the method 2016-12-15 10:45:20 -06:00
adelikat 40418ad25d More documentaiton for IEmulatorServices, related classes/interfaces, and base implementations 2016-12-14 09:11:07 -06:00
adelikat f83a54dff7 better documentation of IEMulatorSErvices 2016-12-13 15:56:20 -06:00
adelikat b73a500d6b Major sound provider refactor. Create a unified interface ISoundProvider, that is an IEmulator service and break it off of IEmulator. IAsyncSoundProvider was kept as a shim for now, for legacy cores that were inherintly async. 2016-12-11 11:15:00 -06:00
zeromus a7d2b8d7f7 * add a new IToolForm update mechanism which has extensible update points (so a tool can both pre- and post- update)
* make trace logging "core-pushes" model, to a sink installed by the frontend. This sink can go straight to the disk without wasting memory if that's what the Trace Logger tool has selected; or the Trace Logger will buffer it if it needs to.  Formerly, we had a "core-pushes-to-buffer" and "client-pulls-once-per-frame" which necessarily caused huge buffers no matter what was going on.
2016-08-13 15:31:26 -05:00
Isotarge 5a20a520bd Tools: Ram -> RAM #669 2016-07-22 01:32:54 +09:30