Commit Graph

17120 Commits

Author SHA1 Message Date
nattthebear db934f3689 quick hack to hopefully unbreak quicknes on loonix 2020-06-06 08:21:26 -04:00
nattthebear b3c3a3a4bb waterbox sgb sameboy - fix stereo audio
WHOOPS
2020-06-06 07:55:21 -04:00
YoshiRulz 6766e45c5e
Simplify core selection menu code 2020-06-06 21:02:42 +10:00
adelikat 069bdddbba use Session.Settings more in movie classes now that it is never null 2020-06-05 21:17:41 -05:00
adelikat 55bb627550 Move MovieService.Get to IMovieSession, and require an IMovieSession in Bk2Movie and TasMovie ctors, refactor accordingly 2020-06-05 21:09:03 -05:00
adelikat 863d022bc5 fix an NRE I caused in movie code. The old code was wrong, this one is better 2020-06-05 20:10:20 -05:00
adelikat 8303321586 rename method to try to better describe what it does 2020-06-05 19:26:30 -05:00
James Groom b93d51f46c
Create SECURITY.md
I was bored while waiting for slow build, have a thing for GitHub
2020-06-06 07:49:02 +10:00
YoshiRulz ede8877ccf
Move core selection menus out of Designer
Generation is based on a convoluted data structure declared statically in
MainForm. I've removed duplicate core selection options that were present under
system-specific menus, some only when emulating SGB.
2020-06-06 07:45:15 +10:00
nattthebear 6a63373c48 Make use sram default in some cores that have this as an option
true is what end users would expect most of the time.  false is only for advanced use cases.
2020-06-05 14:11:09 -04:00
adelikat 8b5e0ae8fd MovieConccersionExtensionTests - use DataRow and add more scenarios 2020-06-05 13:06:45 -05:00
adelikat bf5aca721e move MovieConversionExtensions 2020-06-05 11:44:12 -05:00
YoshiRulz 3e0d07f523
Update Version project name in source control versioning script
fixes b88f20fae
2020-06-06 02:06:39 +10:00
adelikat b22f9e6e01 move methods for Log copying from ITasMovie to IMovie. This bloats the IMovie contract more, but this allows for converting from one IMovie to another without an IEmulator dependency. Refactor conversion extensions to use these methods and remove emulator and movie session dependencies 2020-06-05 10:14:49 -05:00
YoshiRulz b88f20faed
Rename Verison to BizHawk.Version, fixes #2101 2020-06-06 00:20:48 +10:00
nattthebear ad16294b11 Fix gb roms running without bios 2020-06-05 08:50:30 -04:00
TiKevin83 81628bf109
Ports from Upstream GSR for Babs and Robopon (squashed #2091) 2020-06-05 20:27:19 +10:00
adelikat 89789b4358 band-aid fix bk2 to tasproj conversions in tastudio 2020-06-04 20:06:23 -05:00
nattthebear 5319aba113 Remove an unused setting from pce_fast
This was bad copy pasta -- the core doesn't actually support this at all
2020-06-04 20:26:35 -04:00
adelikat d84cd95ab8 oops 2020-06-04 19:23:07 -05:00
TiKevin83 3837ff7cf9
More cleanup to the new tasproj filename code (#2093)
* Test class and basic unit test
2020-06-04 19:21:22 -05:00
adelikat e11509421d simplify the construction of TasMovie but not requiring a startsFromSaveState param that doesn't actually set the movie's StartsFromSavestate bool, it just defined the text of the first marker 2020-06-04 19:20:09 -05:00
alyosha-tas 92bbf768af GBHawk: Fix HuC3 SRAM 2020-06-04 18:34:39 -04:00
adelikat 39636f6ef1 IMovieSession - remove CurrentInput and PreviousInput and move the logic to the one tool that utilizes them. Since these are purely derivable convenience properties, it's better to not be in the spec. If other other needs to do this logic we can move this out to an extension method 2020-06-04 16:37:02 -05:00
adelikat dba9de4f29 remove COreForcingViaGameDb user option. We should not give the user the ability to turn this off. If they are power users and want to overright our db, they can mod the db entries 2020-06-04 16:06:07 -05:00
adelikat d86aabb8b5 remove the "poke frame" hotkey, as this is a very legacy feature, we have a whole tool for this now 2020-06-04 15:30:26 -05:00
zeromus ea6fd0ebad tidy dist script (re #2085) 2020-06-04 15:15:36 -05:00
alyosha-tas 486b3945ad GBHawk: use saveram by default 2020-06-04 14:36:08 -04:00
nattthebear e798fb2b29 play around in romloader to replace some snes hackery with slightly different snes hackery 2020-06-04 12:45:36 -04:00
nattthebear 7792eb2e80 Improve waterbox "lazystates"
Cores that used the .invisible section to store data were saving it; this was a regression from before, so PCFX states should be back down to the previous release size, or perhaps a bit smaller.

Add the ability to dirty track libco cothreads, as used in the bsnes core.  This saves a lot of space in those states and they're now quite competitive in size.
2020-06-04 12:13:28 -04:00
adelikat c4586545fa delete an unused using, testing bot 2020-06-04 09:58:04 -05:00
nattthebear 3bc1ed4bbc snes9x - take advantage of new waterbox change tracking to fix special chip games 2020-06-03 19:25:58 -04:00
YoshiRulz d93ac9a682
Update Nullable (backports of [MaybeNullWhen] et al) 2020-06-04 09:12:20 +10:00
YoshiRulz 66d9d6763e
Apply lossless image optimisation 2020-06-04 09:09:56 +10:00
adelikat a382af4e7f disable multitrack recording for tasproj movies, the concept doesn't make sense, tastudio easily gives you multiplayer functionality by design. Delete some code that attempted to handle this scenario that likely didn't really work 2020-06-03 17:49:22 -05:00
nattthebear 3faff4811c Add slstart, slend to regular settings in pce fast 2020-06-03 18:37:43 -04:00
adelikat b3234d029c movies - remove legacy support for hex frame number, it's been quite some time since cores were in charge of this value, and thus a core specific hack, due to copy pasta, there's a lot to delete here 2020-06-03 17:35:22 -05:00
adelikat 246d7ec2d5 TasMovie - don't use a field value unnecessarily 2020-06-03 17:35:22 -05:00
nattthebear 2cc106de98 pce: make slstart, slend non-sync settings because the core supports it and the waterbox supports it 2020-06-03 18:33:19 -04:00
nattthebear 842a7df215 waterbox: minor makefile tweak
allows fiddling with linkscript to be easier
2020-06-03 17:57:31 -04:00
nattthebear 6e366b7590 waterbox libsnes cothreads: set TEB/TIB stuff
some bsnes cothreads call callbacks that hit managed threads.  We shouldn't do that, but we do, and sometimes those threads run MSVC's __stkchk which can, depending on circumstances, blow up if the thread extents aren't set.

This also means that we cannot save space on a lot of cothread stacks because __stkchck will blow up any detection guards we try
2020-06-03 15:48:06 -04:00
nattthebear 69ade58d2a waterbox: enable -fcf-protection=none, recompile pce fast 2020-06-03 12:16:18 -04:00
nattthebear 885b86e1b2 waterbox: add the ability to compile but not assemble individual files for debugging purposes 2020-06-03 12:02:56 -04:00
adelikat bd2fb07ce1 oops, fix tastudio loading, Movie.Session isn't ready to use in ExtractInputLog 2020-06-03 09:07:14 -05:00
adelikat 9747dc9a95 mGBA - implement IDebuggable.TotalExecutedCycles 2020-06-03 08:28:49 -05:00
TiKevin83 8925d7182f slightly cleaner 2020-06-03 08:22:09 -05:00
TiKevin83 d16f8a7b64 Standardize new filename creation behavior to avoid .bk2.tasproj.bk2.tasproj 2020-06-03 08:22:09 -05:00
nattthebear 46bfcbc47d add a version tag to waterbox states
we're not building any sort of back compat, no.  but if things change, better to bail early to decrease the chance i get bug reports for things i'm not going to fix.
2020-06-03 07:23:06 -04:00
nattthebear d06ed05929 waterbox - track writes for smaller savestates
The waterbox system now uses host os facilities to track whether memory has been written to, to automatically choose what thing to savestate.  This results in a large size decrease for some cores, like snes9x or gpgx (when running cartridge games).  Doesn't do much for cores that were already memory efficient, or for bsnes because of libco compatibility issues; but those cores don't regress either.
2020-06-03 07:13:40 -04:00
feos 0ad26a7435 we won't ever have to pass 256MB 2020-06-03 10:32:10 +03:00