YoshiRulz
0bfe3cb6ab
Genericise SwappableDisplaySurfaceSet
2021-04-08 16:59:32 +10:00
YoshiRulz
85eedb39fd
Extract interface from DisplaySurface
2021-04-08 16:59:32 +10:00
YoshiRulz
bd9ec3c57d
Convert static class QuickBmpFile to (empty) struct with interface
2021-04-08 16:59:32 +10:00
YoshiRulz
1aebbe9cd6
Add QuickBmpFile.LoadAuto helper
2021-04-08 16:59:32 +10:00
YoshiRulz
1f080be047
Extract byte swapping helpers from RomGame, cleanup, and add tests
2021-04-08 16:59:31 +10:00
YoshiRulz
214f024d86
Replace void* param in IGL.BindArrayData w/ IntPtr
2021-04-08 16:59:31 +10:00
YoshiRulz
3db06c4aa9
Remove unsafe keyword where unused or extraneous
2021-04-08 16:59:28 +10:00
YoshiRulz
4d47861296
Cleanup DisplayManager.ClearApiHawkSurfaces
2021-04-08 16:42:27 +10:00
YoshiRulz
e25121bb79
Fix typo
2021-04-08 15:29:21 +10:00
YoshiRulz
d32f7344ae
Fix RecordMovie having a broken layout on Linux
2021-04-08 09:24:12 +10:00
YoshiRulz
9e609271b9
Correct my claim re: axis bindings in comment and clarify some things
2021-04-05 17:06:50 +10:00
YoshiRulz
5209bc69a1
Fix location and namespace of CorePickerStabilityTests
...
oops
2021-04-05 17:06:49 +10:00
TiKevin83
90a67b9e22
update libgambatte to fix RTC subsecond tests
2021-04-05 02:53:04 -04:00
YoshiRulz
d0a6817c1a
In FirmwareConfig, don't treat known-but-bad as good ( resolves #2224 )
2021-04-04 15:52:39 +10:00
YoshiRulz
766e2aa14d
In GitLab CI, build BizHawk.Version project separately first
...
this is a faster "solution" to the problem of first-clone builds failing because
of a missing /src/BizHawk.Common/VersionInfo.gen.cs (the old solution being to
run the build again on failure)
2021-04-04 14:36:54 +10:00
YoshiRulz
aab0dd582d
Fix compliance with SA1142 (don't access ValueTuple fields as ItemN)
2021-04-04 14:16:41 +10:00
YoshiRulz
26eaa22be2
Update StyleCop, migrate FxCop to NetAnalyzers (built-in)
2021-04-04 14:15:22 +10:00
YoshiRulz
55bf1d5f56
Reinstate assembly version check
...
made possible by #2697
2021-04-04 12:41:01 +10:00
YoshiRulz
f204f4e367
Use a Source Generator for ReflectionCache classes
2021-04-04 12:41:01 +10:00
YoshiRulz
86dd250a73
Prevent copying BizHawk.Version assembly to output for real
2021-04-04 12:41:01 +10:00
Moritz Bender
2be2d3ad98
Add version metadata to all assemblies when building (squashed PR #2697 )
2021-04-04 08:54:55 +10:00
YoshiRulz
84e195659c
Dedup Linux build scripts
...
inb4 "how is this deduplicating when you added a bunch of code"
2021-04-03 11:47:50 +10:00
YoshiRulz
56916fbbca
Add test to do sanity checking of core picker and default core prefs
2021-04-02 19:53:12 +10:00
YoshiRulz
c5802e9154
Only use IReadOnlySet in .NET 5, ICollection for other targets
...
forgot AppVeyor compiles the test project for .NET Core 3.1
2021-04-02 19:52:51 +10:00
YoshiRulz
71cb9a8805
Add test to prevent adding unserializable types to Config
2021-04-02 17:29:13 +10:00
YoshiRulz
286727eb44
Make collection-typed fields readonly where possible
...
also I widened them all to the relevant interface
this was done with a naive regex replace, followed by reverting lines until all
the build errors were gone; the regex was something like
s@(public|internal|protected|private) ((?:List|Dictionary)<[^=\n{]+= )@$1
readonly I$2@g
2021-04-02 16:27:40 +10:00
YoshiRulz
5dd7a66120
Cleanup serialisation of test cases in CheatDecoderTests
2021-04-02 16:27:40 +10:00
YoshiRulz
3860199c52
Add ext. methods for calling List<T> methods on collection interfaces
2021-04-02 16:27:36 +10:00
feos
3ff0eb33db
update mame to 0.230
2021-04-01 23:19:07 +03:00
YoshiRulz
1ffc0435b3
Remove haptics from ControllerDefinitionMerger ( fixes #2690 )
2021-04-01 09:22:06 +10:00
YoshiRulz
ad1659eb68
Re-add Debug haptics channel to all cores, but only in Debug config
2021-04-01 09:18:16 +10:00
YoshiRulz
cb88e98f39
Fix syntax error
2021-04-01 09:15:16 +10:00
CasualPokePlayer
d308afa45c
clarify Gambatte sync settings ( #2688 )
2021-03-31 18:07:54 -05:00
Moritz Bender
fc97e096a1
Add initial marker in frame 0 when loading older tasprojs ( #2693 )
...
else this would make the first created marker take slot 1 and be uneditable and undeletable, which isn't good
2021-03-31 18:07:22 -05:00
nattthebear
b964cf9447
bear minium hacks to hapics to get broken cores working
...
affected were bsnes, snes9x, and neshawk
2021-03-31 17:50:31 -04:00
Moritz Bender
2a09345a7e
Microsoft and their zip library can get bent
2021-03-31 17:36:09 -04:00
YoshiRulz
53b3dccb12
Fix missing import
2021-03-31 08:36:21 +10:00
nattthebear
a91fa2754e
clean up names in zipstater
...
We were using some sort of special malformed non-path seperator character to stand in for the path seperator character in in the lump names, and then compensating for that brokenness when loading lumps.
On save, we were relying in our zip library compensating for the brokenness.
2021-03-30 17:47:50 -04:00
Moritz Bender
6c2b72dd8d
Fix some TAStudio branch view issues ( #2686 )
...
* Fix exception, scroll to branch on updating branch and fix #2645
* Make loadbranch hotkey deselect all but one branch
matches updatebranch behavior and fixes part of #2645
2021-03-30 23:33:45 +03:00
feos
ca8c7a5427
break mame into subfiles
2021-03-30 23:26:41 +03:00
YoshiRulz
5f125b7cd6
Add commented-out Infer# job to GitLab CI config
...
https://github.com/microsoft/infersharp doesn't seem to produce any meaningful
output for BizHawk assemblies, will try again when it's fully implemented
2021-03-31 05:30:12 +10:00
Moritz Bender
5743b0257d
Fix #2640 ( #2687 )
2021-03-30 13:51:28 -05:00
YoshiRulz
6f47492d95
Add haptics support to ControllerDefinition and the Controller stack
...
still no cores which support it, "Debug" is still hardcoded, still uses holding
Fast Forward hotkey to trigger
no idea how OverrideAdapter, or the IInputAdapters, or the Bk2/BkmController
will work, I've just thrown NotImplementedException from those
2021-03-30 10:06:26 +10:00
YoshiRulz
bb3fddcb5f
Allow configuring "keybinds" for haptic feedback (see desc.)
...
Open `Config` > `Controllers...` with any rom loaded and go to the last tab.
A "Debug" virtual channel is hardcoded, and will be present on every core.
As with the previous commit, holding Fast Forward causes this channel to fire
and it will be passed through to a bound host gamepad.
The prescale slider works. Virtual channels with a player number prefix also
work, but the single "Debug" channel without a prefix is hardcoded.
Caveats: Reopening the config dialog doesn't load the host channel back into the
combobox. It will save to config correctly.
2021-03-29 17:43:31 +10:00
YoshiRulz
6102db0e68
Wire up host haptics, hold Fast Forward key to test
...
DirectInput works, OpenTK 3 doesn't seem to actually support it even though the
method is present and has documentation -_-
2021-03-29 10:03:55 +10:00
YoshiRulz
bdfc54443f
Use props on GamePad/GamePad360 for pad prefixes
2021-03-29 10:03:50 +10:00
zeromus
d02863e491
Merge branch 'master' of zeromus-github.com:/tasvideos/bizhawk
2021-03-28 15:24:39 -04:00
zeromus
23c0928107
stop using exceptions for flow control
2021-03-28 15:24:28 -04:00
zeromus
99c8e4e910
I dont think GuiAPI should use the ScreenLogicalOffsets this way. Cores should be using this entirely internally -- either adjusting what they fill the framebuffer with, or communicating further data for how to display a limited section of the framebuffer offset to DisplayManager via IVideoProvider or similar but NOT via this. So why does ScreenLogicalOffsets exist? So that scripts can alter that setting. This is actually NOT A GREAT IDEA if you ask me because the same could be done via general PutSettings APIs. nevertheless, that's what we have. So anyway, I dont think when drawing via script we really need this value inspected.
2021-03-28 15:22:42 -04:00
feos
b89f14313e
fix syntax
2021-03-28 20:59:12 +03:00