adelikat
e1bb93971a
use expression body in various places
2020-02-25 15:14:14 -06:00
Devon R
0f7d292101
Fix an InvalidCastException being thrown when a double is unboxed as a float ( #1863 )
2020-02-25 11:33:28 -06:00
alyosha-tas
961f682cdc
SubGBHawk: misc. movie stuff
2020-02-23 19:20:49 -05:00
alyosha-tas
f0692111d7
SubGBHawk: add
2020-02-23 09:54:42 -05:00
YoshiRulz
2b8c0edcc2
Reorganise *.props
2020-02-23 06:17:35 +10:00
adelikat
c3811721c2
delete unused KeyTurbo.cs and misc small cleanups to InputAdapters
2020-02-22 12:44:03 -06:00
adelikat
5386b8b18c
Client.Common cleanups - mostly using higher language features
2020-02-22 12:29:12 -06:00
YoshiRulz
9829fd699b
Unify helpers for generating file extension lists (for open/save)
2020-02-20 21:59:20 +00:00
YoshiRulz
f71cc532a8
Misc. cleanups
2020-02-21 07:05:13 +10:00
YoshiRulz
4d4496af0d
Remove WinForms dependency from BizHawk.Client.Common (used in ApiHawk)
2020-02-19 04:13:37 +10:00
YoshiRulz
3afcf416e8
Follow attribute class best practices, cleanup docs on attributes
2020-02-19 03:54:50 +10:00
James Groom
46a4d8ffa9
Retargetting non-executable projects to .NET Standard ( #1801 )
...
* Retarget BizHawk.Emulation.* to .NET Standard 2.0
* Retarget BizHawk.Bizware.BizwareGL to .NET Standard 2.0
In practice this mostly involves moving classes to BizHawk.Client.EmuHawk.
2020-02-18 10:31:49 -06:00
adelikat
4b50ea36e1
remove MemDomain CanPoke() extension method now that all it does is check the Writable flag which is better named and more conscise
2020-02-15 12:37:39 -06:00
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
zeromus
4617476bcd
SharpCompressArchiveHandler: throw fewer exceptions
2020-02-09 23:27:09 -05:00
adelikat
d7f97b1539
actually delete things instead of removing them from the project
2020-02-08 13:09:27 -06:00
feos
8b59754349
warn about mismatching cycle counts for gambatte
2020-02-08 20:02:00 +03:00
adelikat
f43d7c5b1b
MovieSession - add a PopupMessage method, will be used later
2020-02-08 10:50:05 -06:00
adelikat
4fed717858
some cleanup of RomLoader.cs
2020-02-08 10:46:46 -06:00
feos
08ee1c8170
show proper movie length for cycle based timing (gambatte)
2020-02-08 15:36:21 +03:00
alyosha-tas
75ead6e3c4
GBHawk: put CGB flag into bk2 for proper parsing
2020-02-07 07:40:33 -05:00
YoshiRulz
c0fcd01b69
Yet more work on AutoGenConfig
2020-02-06 05:19:40 +10:00
adelikat
e770047eef
profile config - rip out code for the custom profile that never got implemented
2020-02-03 17:51:07 -06:00
YoshiRulz
fd06504882
More work on AutoGenConfig
2020-02-03 06:14:09 +10: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
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
8f7b0aaac9
Movie Session - move some logic out of hacky step 1 and into hacky step 2
2020-02-02 11:38:12 -06:00
adelikat
8c99e87867
MovieSession - cleanup
2020-02-02 11:06:30 -06:00
adelikat
32f638107d
delete unused code in MovieSession
2020-02-02 11:04:29 -06:00
adelikat
226c4b32ac
Fix Movie.IsPlayingOrRecording() - fixes input dsiplay during record mode, as well as a lot of other things probably, partially addresses #1802 , replay mode still broken and has been for a few releases now
2020-02-01 17:25:36 -06:00
adelikat
b3cc55080f
Ram Search - use SignExtendAsNeeded in more places, fixes #1819
2020-02-01 16:41:28 -06:00
YoshiRulz
593e1ef97d
Refactor external tool attributes
2020-02-01 01:54:23 +10:00
zeromus
3143c38b7d
fix lua bit.arshift ( fixes #1825 )
2020-01-31 00:36:01 -05:00
YoshiRulz
1fdb7a6fe2
Allow external tools to have any namespace / class name if annotated
...
This change is more convenient at the cost of a little duplicate code in
ToolManager. The annotation is [ExternalToolEntryPointForm], and having no more
than one such class per assembly is enforced.
2020-01-30 23:41:52 +10:00
YoshiRulz
eab44d2d94
Add hack to EmuApi, add WIP external tool AutoGenConfig
2020-01-30 22:41:50 +10:00
adelikat
e6e1962b54
Convert SMS settings to use GenericCoreConfig ( #1816 )
...
* refactor Sms settings including naming conventions and fix a typo, breaks configs with SMS settings already saved
* convert SMS controller type setting to an enum
* convert SMS Region setting to an enum
* Move SMS display type setting to an enum
* convert sms settings to properties
* SMS - wire up generic core config to a settings menu item
* remove some SMS menu items that are redundant to generic settings config
* remove more SMS menu items that are now redundant to generic core config
* remove more redundant SMS settinsg including SMSGraphicsConfig dialog, add descriptions and display names to SMS settings objects
2020-01-26 12:56:54 -06:00
adelikat
45e0abe39d
convert Config.cs from fields to properties
2020-01-25 12:35:33 -06:00
adelikat
90e1a89516
rename config variable to match type name
2020-01-25 11:44:58 -06:00
adelikat
6527b98476
TasSTateManager - at least consolidate the Global usage problem, until there's a solution to be found
2020-01-25 11:40:43 -06:00
adelikat
3ce88eaa3b
pass config settings into TasSTateManager instead of using Global.Config, now TasMovie incorreclty uses Global.Config, but that's a step
2020-01-25 11:35:33 -06:00
adelikat
763d5870f2
move some lua console settings from config to console with ConfigPersist
2020-01-25 11:21:38 -06:00
adelikat
14b6efec57
PathEntry - some cleanups
2020-01-25 11:12:10 -06:00
adelikat
73ba93663a
cleanup MessagePosition.cs
2020-01-25 11:07:35 -06:00
adelikat
323c0edcd9
rename config file to match class
2020-01-25 11:06:05 -06:00
adelikat
ef13754f79
consistent variable naming in config.cs
2020-01-25 10:57:39 -06:00
YoshiRulz
f061e4f876
Enable SA1209 and fix noncompliance
...
"Using alias directives should be placed after other using directives"
2020-01-25 19:37:24 +10:00
YoshiRulz
b80dd2fab7
Enable SA1113 and fix noncompliance
...
"Comma should be on the same line as previous parameter"
2020-01-25 18:06:50 +10:00