Commit Graph

22425 Commits

Author SHA1 Message Date
YoshiRulz a41817b703
Prevent devs from setting '.' as a button's mnemonic
see c2ba2d7d4, #4217
2025-04-19 20:49:05 +10:00
feos c2ba2d7d4a mnemonics: comma means no input
TODO: unit test
2025-04-19 09:28:15 +03:00
Morilli 508aaa4400 add additional #if-directives 2025-04-18 19:45:12 +02:00
Morilli 7adc5619d7 remove redundant control overloads
no longer necessary since c# language version 10
2025-04-18 18:34:47 +02:00
YoshiRulz 3eb77a7567
Stop passing `--test-adapter-path` to `dotnet test` in scripts
this was causing a warning to appear, see microsoft/vstest#3475
don't entirely remember why it was necessary to pass
this, originally `-a`, at all; it's in the first commit d91c477e5
2025-04-17 04:08:44 +10:00
YoshiRulz 45f6bcb465
Nix expr: Regen NuGet lockfile
fixes 85dd9c816
2025-04-17 04:05:39 +10:00
YoshiRulz 0ab22359e1
Make `CustomCollectionTests.TestSortedListRemoveAfter` generic 2025-04-16 23:47:01 +10:00
YoshiRulz 3017459a3a
Mute remaining MSTest usage warnings 2025-04-16 23:35:16 +10:00
YoshiRulz 1fb2daaac0
Adopt new assert methods for exceptions 2025-04-16 23:35:16 +10:00
YoshiRulz ac95bf49bc
Fix swapped actual and expected values in `ZwinderStateManagerTests` 2025-04-16 23:35:16 +10:00
YoshiRulz 85dd9c816a
Bump MSTest to 3.8.3 and enable its new Analyzers 2025-04-16 23:12:56 +10:00
YoshiRulz aea450542a
Don't need this partial config migration anymore 2025-04-15 20:56:44 +10:00
YoshiRulz a88ba40bb5
Simplify some save slot UI event handlers 2025-04-15 20:50:43 +10:00
feos 1b301229ce Revert "uae: use existing thing instead of GetFullName()"
This reverts commit 13f49a1e3f.

fixed GetFullName() instead
2025-04-13 23:42:19 +03:00
feos 6dccb759cb Config.MainFormMouseCaptureForcesTopmost (config -> display -> window)
useful when some obscure window can overlay bizhawk while in mouse capture mode if the hidden mouse pointer is too close to it (pop-up panel on the edge of the screen in my case). topmost+fullscreen makes those unreachable, but automatic topmost is set to false since normally it's potentially bad
2025-04-13 23:31:17 +03:00
feos f3847c881d `Toggle Stay on Top` hotkey 2025-04-13 22:47:28 +03:00
CasualPokePlayer ca8bf2fb49 fix bsnescore and snes9x rompath usage (matches behavior before, maybe this should be changed but should be slightly more sensible now); remove unused imports 2025-04-13 11:12:45 -07:00
CasualPokePlayer cb50a24c0c Make RomPath consistent between xml and not xml
Previous implementation was broken and differed between the two in practice in the case of archives. Standard single file just passed archive loaded, without archive binding info. Xml case was even more nonsense, giving a completely nonexistent path using the internal archived file name. RomPath now will properly report the binding info in the case of archives. Cores should be very careful with using RomPath with file apis, as the | used for binding info is not a valid file char and will throw most file apis (some cores were already doing this, I've fixed most of the cores not doing so save for UAE and DSDA).

TODO: Need to fix the edge case of the file being in the same archive as the xml (represented specially in xml and that code path seems to already been broken)
2025-04-13 01:19:44 -07:00
feos 75fc58041e bind mouse capture to middle mouse button
pretty standard across emus that do this upon hotkey
2025-04-13 10:44:59 +03:00
feos 13f49a1e3f uae: use existing thing instead of GetFullName() 2025-04-13 08:48:21 +03:00
Morilli bf1930c3ff evict savestates on branch update 2025-04-12 23:55:12 +02:00
Morilli f20d09c8c1 fix marker state eviction logic
yeah this never worked
2025-04-12 22:55:08 +02:00
Morilli 52f08a9a6c cleanup TasView_CellDropped 2025-04-12 22:53:21 +02:00
YoshiRulz 1983c9ce08
Reflow single-line enum definitions 2025-04-12 20:26:57 +10:00
Morilli cd699d7c52 fix separator conflict in mame dipswitch option code
"@" was used as part of a description string, breaking the parsing. Surely no description includes a newline... (is there a better way to do this?)

- closes #4288
2025-04-12 06:48:18 +02:00
YoshiRulz d94fb910c7
Fix sysID in error dialog from `.xml` load failure
I think this predates the multi-disk bundler lmao
2025-04-12 01:33:05 +10:00
YoshiRulz 6c0f2a0ebf
Restore import in `TasMovie.cs`
reverts e672cc4cd
fixes 48c545a06
2025-04-12 01:13:27 +10:00
CasualPokePlayer 48c545a063 Revert "don't reserve branch frame savestates"
This reverts commit 8d066ff295.
2025-04-11 06:45:06 -07:00
Morilli e672cc4cd8 remove unused using 2025-04-11 14:32:47 +02:00
Morilli e32ec48c8a optimize tas history SetRedoLog allocation 2025-04-11 14:18:32 +02:00
Morilli 8d066ff295 don't reserve branch frame savestates
There was no eviction logic so the reserved frames would accumulate and never be cleaned, leading to continuously increasing memory usage.

Additionally I don't know why they would need to be reserved in the first place
2025-04-11 14:14:32 +02:00
YoshiRulz a09803e793 Copy metadata to linked and subframe cores from base core 2025-04-11 13:09:43 +10:00
YoshiRulz 5571d2e2a6 Update author/source metadata for several cores where it's missing
see #4168
2025-04-11 13:09:43 +10:00
YoshiRulz 6e63322f3f
Fix rewind indicator not being updated on core close
fixes eb7296dcd
2025-04-10 21:35:53 +10:00
CasualPokePlayer f1dce8964d Fix clang Linux building 2025-04-09 12:24:19 -07:00
CasualPokePlayer 2100168ed7 rebuild waterboxhost .so 2025-04-09 12:14:19 -07:00
feos 590d6bdc01 dsda: split out common buttons from players and only send them once 2025-04-09 21:45:40 +03:00
CasualPokePlayer 5409d0964e QuickerNES rebuild 2025-04-09 11:28:39 -07:00
CasualPokePlayer d9f2ce45fb Add CD WORD RAM (2M) to exposed Sega CD memory in RetroAchievements 2025-04-09 10:57:24 -07:00
feos efaa313d01 dsda: carry fractional x mouse movement for shorttics 2025-04-09 20:32:46 +03:00
feos 93bc50288f dsda: fix horizontal mouse range
the core uses 2 bytes, but if we use that range then raw mouse input is automatically recalibrated somehow and sends values multiplied by 272. that way maximum actual value is 120 (after dividing the range cap by 272), which is even more limiting than shorttics. and min value is 272 itself, which is not very useful if we have to divide it, because we need it to be 1!

the range of [-180, 180] is somehow the highest range that still gives minimal movement of 1, while providing maximum room for bigger movement.
2025-04-09 19:37:31 +03:00
feos 0f0d84489f Revert "mouse capture: restrict to center"
This reverts commit b0b32bea6a.

see commit discussion
2025-04-09 19:08:02 +03:00
feos d88f70aba5 dsda: x-mouse strafing 2025-04-09 19:04:47 +03:00
YoshiRulz da62f29d70
Add host mute indicator to status bar (see #2308) 2025-04-09 21:21:11 +10:00
YoshiRulz eb7296dcd5
Add rewind indicator to status bar (resolves #2308) 2025-04-09 21:19:05 +10:00
YoshiRulz 1d6583e42d
Un-mark DSDA-Doom as released 2025-04-09 14:32:38 +10:00
YoshiRulz 2f12b1efcc
Remove unused import
fixes 06bf689e8
2025-04-09 14:01:46 +10:00
YoshiRulz 06bf689e8d
Fix bank switching in NesHawk's MMC5 impl. w/ 128 KiB WRAM 2025-04-09 13:52:58 +10:00
feos f58644cb5a dsda: make strafe50 possible
in vanilla doom, turn key + strafe key = strafe in the direction of the turning key. but if directional strafe key is added to the mix, both strafe speeds are ADDED TOGETHER. on top of that, max strafe speed is max vertical movement speed (50), NOT the speed you get if you strafe while holding the run key (40). all of this makes strafe50 possible in vanilla, and turning is impossible at that time (because strafe key turns turning into strafing).
2025-04-08 22:49:56 +03:00
feos ffb1af4902 dsda: option to show input history 2025-04-08 22:49:56 +03:00