Commit Graph

21139 Commits

Author SHA1 Message Date
YoshiRulz ffa5bb9b74
Use a polyglot BASH/Batch script as a shim for the Git commit hook 2024-06-08 14:28:38 +10:00
YoshiRulz 4a54a99dbb
Fix typo
fixes 028861f01, reverts 1f41f5ff2
deja vu
2024-06-08 13:02:37 +10:00
YoshiRulz 028861f010
Change label of TAStudio's pause button again
reverts a123776fe and 1f41f5ff2
2024-06-08 12:36:54 +10:00
CasualPokePlayer c825603d23 Update ported core version listings 2024-06-07 18:54:41 -07:00
CasualPokePlayer 0a3ab1a055 Fix read/write callbacks possibly being called recursively
Also fix possible unsafe sys bus reads
2024-06-07 14:35:45 -07:00
CasualPokePlayer 448e9fb9ec fix melonDS fw generation code 2024-06-07 13:48:19 -07:00
Morilli b487782eec Update outdated app config values 2024-06-07 17:12:35 +02:00
YoshiRulz 5d80e2657b
Nix expr: Regen NuGet lockfile 2024-06-07 22:32:03 +10:00
YoshiRulz cbf0728d4e
Scale back autorestore of dotnet tools to only be in `BizHawk.Common`
fixes f58b4640c
and to be fair this was the one place actually using a tool during the
build process, so it makes sense to keep them together I guess
2024-06-07 22:11:26 +10:00
YoshiRulz f58b4640c5
Have local dotnet tools restored with NuGet packages
reverts 8f7e61339
2024-06-07 22:03:16 +10:00
YoshiRulz 84e337b05c
Fix `install_git_hooks.ps1` failing when target file doesn't exist
fixes 5c3171171
of course I covered every case but the obvious one
2024-06-07 15:54:39 +10:00
YoshiRulz 8f7e613398
Ensure local dotnet tools are restored on Linux and for CI
Windows users can do it manually if VS doesn't, at least until #3013
2024-06-07 15:46:46 +10:00
YoshiRulz 5c31711710
Automatically install client-side Git hooks
This is how npm-style RCE hacks happen by the way. You should all be
vetting `dotnet-tools.json` and all MSBuild and PowerShell scripts.
2024-06-07 15:39:44 +10:00
YoshiRulz c6270241f5
Ensure PowerShell is available to everyone working on EmuHawk
see #3013
`dotnet tool restore` to install then `dotnet tool run pwsh` or simply
`dotnet pwsh` to launch
2024-06-07 15:39:44 +10:00
CasualPokePlayer 1a318941ff Fix 3DS tilting
resolves #3931
2024-06-06 21:41:56 -07:00
CasualPokePlayer be4f6c4148 More fixes for TIC80 mouse input 2024-06-06 17:25:09 -07:00
CasualPokePlayer 11e68a2271 Add method to query relative mouse state for TIC80 2024-06-06 17:24:26 -07:00
CasualPokePlayer 8fb2ba6afa Fix TIC80 mouse inputs
resolves #3938
2024-06-06 15:18:45 -07:00
CasualPokePlayer a7c8156710 fix build 2024-06-06 13:51:19 -07:00
CasualPokePlayer 43a621a695 Handle nand/firmware a bit bitter; add sound interpolation options; add hybrid screen option 2024-06-06 13:50:29 -07:00
Morilli 5fc99f8a7d . 2024-06-06 16:25:15 +02:00
Morilli 890111703f Simplify NESHawk InitialWRamStatePattern 2024-06-06 14:39:51 +02:00
Morilli 3b3fa2e96d Simply TAStudio ClientSettings loading 2024-06-06 14:00:46 +02:00
Morilli 1da58888ff exterminate File.OpenWrite usage 2024-06-06 13:56:42 +02:00
Morilli 43d449be8b Lower verbosity level of analyzer builds
the next lower option is minimal, which is already default
2024-06-06 13:28:20 +02:00
Morilli 7499fafe65 CI: (hopefully) fix mame build 2024-06-06 13:17:57 +02:00
CasualPokePlayer 9ff8f6b63a remove some unused imports 2024-06-06 00:45:12 -07:00
CasualPokePlayer 7ec0a4c4af seal NDS
shuts up a warning
2024-06-06 00:43:49 -07:00
CasualPokePlayer c21172ae03 Fix DownscaleFramebuffer not being generated (happened to work fine in melonDS upstream, but not BizHawk) 2024-06-06 00:39:31 -07:00
CasualPokePlayer ea4e96b08c fix perms on these files 2024-06-05 23:37:53 -07:00
CasualPokePlayer b7265e2f39 Update melonDS 2024-06-05 23:37:53 -07:00
YoshiRulz 75502e7ffb
Unimplement `IEnumerable` on `RecentFiles` and `PathEntryCollection` 2024-06-06 14:36:34 +10:00
YoshiRulz fab1fae66a
Use `nameof` for `[CallerArgumentExpression]` 2024-06-06 14:11:24 +10:00
YoshiRulz e468d6ee76
Fix target-gated `#if`s to cover every applicable TFM 2024-06-06 14:07:19 +10:00
YoshiRulz 7691f2f724
Fix possible mismatch between `$(IsTargetingNetFramework)` and TFM
just in case
2024-06-06 13:16:12 +10:00
YoshiRulz 4e6559af39
Populate the default window scales for a few sysIDs 2024-06-06 13:08:02 +10:00
YoshiRulz df05537ca6
Replace `ZoomFactors` with a plain `Dictionary` 2024-06-06 13:02:11 +10:00
Morilli 7bb7cdeaee Don't double-load subtitles from movies
this duplicated all subtitles on every load... ???
- fixes bc16a2cdaa
2024-06-05 22:40:38 +02:00
Morilli 6ffe5a0d5d Fix the Subtitles button in PlayMovie not showing the form
it was immediately disposed woops
2024-06-05 19:28:44 +02:00
Morilli f90cd201bc Use `UseWindowsForms` instead of Reference
it's the modern way and there's some implications of not having it set for VS for example
2024-06-05 19:25:21 +02:00
YoshiRulz 15be0d625c
Nix expr: Set `mainProgram` for installables 2024-06-05 15:15:58 +10:00
kalimag 2c6129fb68
Fix possible TAStudio NRE (squashed PR #3936)
* Skip `AskSaveChanges` in disposed `TAStudio`, fix #3499

* Revert "Skip `AskSaveChanges` in disposed `TAStudio`, fix #3499"

This reverts commit eabe939547.

* Stop calling `AskSaveChanges()` on inactive tools, fix #3499
2024-06-05 10:00:55 +10:00
hegyak 5da5697f8f
Better Firmware Names (#3766)
* Better Firmware Names

Renaming Firmware Files based on System Name as BizHawk uses or at least renamed to be related to what it's for.

Unify Firmware names for Vectrex, Lynx, MSX resolve Name Collision, Odyssey 2 G7400, Gameboy, GameBoy Color.

---------

Co-authored-by: Morilli <35152647+Morilli@users.noreply.github.com>
2024-06-04 13:37:38 +02:00
Morilli dbb106e407 fix O2 platform frame rates rounding
fixes 1cf5af83dd
2024-06-03 18:42:10 +02:00
kalimag 1b961f248d
Sanitize text pasted into hex text boxes (squashed PR #3684)
* Sanitize text pasted into hex text boxes

Trim `0x` and `$` prefixes and whitespace pasted into `HexTextBox` and `WatchValueBox`. Prevent pasting non-hex text.

Add `ClipboardEventTextBox` control with `OnPaste` event

* Fall back to trapping paste keyboard shortcuts on Linux

* Adjust code style, seal `PasteEventArgs`

* Use slightly more sophisticated shared method for sanitizing hex strings

* Use moderately more sophisticated method for sanitizing hex strings

* More `string.Empty`

* Add some comments

* Code style

* Remove superfluous format check
2024-06-03 18:08:50 +10:00
YoshiRulz ec8ba06dbe
Attempt to fix NRE when importing `.bk2` into TAStudio 2024-06-03 09:32:49 +10:00
YoshiRulz 6cb07dd53e
Nix expr: Override `<DebugType/>`
not functional, just so I don't forget
2024-06-03 09:32:49 +10:00
Morilli 5dba95bb44 CI: fix waterbox path condition 2024-06-02 22:20:28 +02:00
CasualPokePlayer 7164763e2f Build melonDS with fwrapv, fixes weird rendering issues 2024-06-02 12:59:18 -07:00
YoshiRulz f5af95c432
Nix expr: Harden checksums 2024-06-02 11:48:32 +10:00