Commit Graph

22045 Commits

Author SHA1 Message Date
YoshiRulz 82b22266b0
Improve error messsages for `forms.draw{Icon,Image,ImageRegion}` 2025-01-05 20:30:11 +10:00
YoshiRulz 6ffc71b183
Minor improvement to `LuaPictureBox.DrawPolygon` 2025-01-05 20:30:08 +10:00
Tony Konzel ed59b5e874
[C64] Fix Domark/HES/MagicDesk cartridge mapper bank loading (squashed PR #4162)
* [C64] Fix loading Domark cartridges that don't have a bank count that is a power of 2, and add a memory domain for the ROM image

* [C64] Fix bracket styling
2025-01-05 20:14:30 +10:00
saxxonpike 99ca3be22a [C64] EasyFlash overhaul
- Implement the AM29F040B flash device as its own component
- Fix save data for games that use the standard EasyAPI driver
- Fix "Briley Witch Chronicles 2": the flash driver checks AutoSelect register 02 to see if the cartridge is write-protected
- Rom is stored as bytes instead of ints, saves a lot of memory
- EasyFlash now has proper hard reset and clock operations
- SaveRam deltas fixed
2025-01-04 18:19:23 +10:00
saxxonpike 83ea4bfb1c [C64] Fix a situation where the SID filter stage would pass through voices selected to be filtered while no filters are actually enabled 2025-01-04 18:19:01 +10:00
Morilli 9dc3e0cf84 Respect queued movie's logkey in RunQueuedMovie
should (resolve) #4159
2025-01-03 14:12:02 +01:00
YoshiRulz 05fd64a5e6
Remove now-unused prop `IMainFormForTools.OnPauseChanged`
fixes 7b904b171
2025-01-03 02:23:31 +10:00
Morilli 5f36cacfd2 cleanup some debugger calls
this also fixes double-load on start, which is especially noticeable in debug with waterbox cores
2025-01-02 15:18:45 +01:00
Morilli 238e7bca1e don't disassemble unnecessarily many instructions in the debugger
fixes fc92d3c63e
2025-01-02 14:51:50 +01:00
Morilli 7b904b1715 don't rely on PauseChanged in debugger
this doesn't work anymore with 7c38810e9e and was questionable to begin with
2025-01-02 14:50:54 +01:00
Morilli b93a995083 unsubscribe from events in core Dispose methods
- closes #4157

Not sure this is the best way to fix the linked issue, but considering this is a hard crash I'd rather fix it somehow than not at all for now.
2025-01-02 14:26:24 +01:00
Morilli b8baf21788 fix selection color in TAStudio
- closes #4158

fixes bd3f919129
2025-01-02 05:00:25 +01:00
Morilli 7c38810e9e short-circuit EmulatorPaused setter when value isn't changing 2025-01-02 04:36:53 +01:00
YoshiRulz c50a4f4e6a
Nix expr: Use `lib.getExe` 2024-12-31 16:51:06 +10:00
YoshiRulz 2cb6d2c0fc
Use lazy initialisation for `IOExtensions.ShiftJISEncoding`
see #4150
2024-12-30 22:09:30 +10:00
CasualPokePlayer 0ec54fe9d6 Make touch input interpolation configurable 2024-12-29 22:08:54 -08:00
CasualPokePlayer 3a8024b235 Only stop/start sound on resize on Windows
Windows will "freeze" the main thread in message pumping while resizing is occurring, while this does not occur on Linux.

Resolves #4145
2024-12-28 23:16:08 -08:00
CasualPokePlayer 24d549ddb8 Apply volume setting to BizBox not hawk sfx 2024-12-27 07:06:11 -08:00
CasualPokePlayer af0b10fb58 linux rebuild mgba 2024-12-27 06:39:54 -08:00
CasualPokePlayer 2202e4f9b9 Update mgba
quite a few commits would be wanted here (mainly 109fbe60f5)
2024-12-27 06:35:36 -08:00
YoshiRulz 694aa867ec
Fix artifacting on firmware status icons under Mono 2024-12-26 00:57:15 +10:00
YoshiRulz 31dd2dbd2f
Use `SortedDictionary` for `FirmwareConfig.Status{Descs,Icons}` 2024-12-26 00:55:51 +10:00
YoshiRulz 9b72b2292e
Nix expr: Regen NuGet lockfile 2024-12-23 21:54:36 +10:00
YoshiRulz 7350e0f7ce
Remove unused imports
fixes b09134489
2024-12-23 02:48:45 +10:00
YoshiRulz b091344896
Actually fix `GenOrderedControls` invariant, dropping Libretro hack
fixes a8368849a and 3384ce862
2024-12-23 02:37:56 +10:00
YoshiRulz 1eb8433b4a
Sort rom file picker filters 2024-12-23 02:20:00 +10:00
YoshiRulz 44dae6428d
Add bundles to rom file picker 2024-12-23 02:20:00 +10:00
YoshiRulz 319bfd3d3a
Show `.exe`s in rom file picker for PSX
see fa0c69344
2024-12-23 02:20:00 +10:00
feos 3384ce8629 input OSD: fix potentially absent P0
I don't know if there's any core that lacks non-player controls but this feels like the right thing to do anyway (for the future too)
2024-12-22 19:07:22 +03:00
feos fcff79e794 uae: fix double eject 2024-12-22 17:51:59 +03:00
feos 0e300fc094 fix #4142
store slot index for each drive instead of filename, and add it to savestates
2024-12-22 16:25:21 +03:00
feos a8368849a9 fix #4132
controls that don't belong to any indexed player are put at index 0, which makes them appear in front of everything that's used all the time. when there's only a few of those, it's fine. but for systems with keyboards, you have to fullscreen the emulator window to even see regular inputs

I moved index 0 to the end for input display, but didn't touch the original generator, since it may affect other things I'm not sure about (and I'm not smart enough to properly change it)
2024-12-22 14:53:12 +03:00
Morilli 1526de58ad Remove outdated SystemLookup
- closes #4143 by using EmulatorExtensions.SystemIDDisplayNames instead
2024-12-22 10:20:22 +01:00
Morilli 4dc0ec5b87 fix bundled input display script's controller detection
surely this breaks nothing
2024-12-20 20:24:35 +01:00
Morilli 18ef28ccef Improve bundled input display script's handling of unsupported systems 2024-12-20 20:23:51 +01:00
YoshiRulz cf90a96af0
Fix an error message from Cheats displaying an address in decimal 2024-12-19 06:20:33 +10:00
YoshiRulz 4bf29a6b00
Optimise all PNGs in main solution
fixes libpng errors from images added in 9e9687f02
2024-12-19 03:08:27 +10:00
YoshiRulz 3095aca86a
Use `StringPool` from CommunityToolkit in `ToUpperASCIIFast` extension
from be0736be4 (+ cherry-picked ccba93440) to this commit:
- `Database` reported runtime 0.64 s --> 0.68 s
- profiled `ParseCGIRecord` mean runtime 0.190 ms --> 0.179 ms
- `GameDBHelper` 1M lookups reported runtime 1.03 s --> 0.69 s
- managed allocations (w/o the 1M lookups) 131 MiB --> 123 MiB (fewer
strings but more char[]s?)

since `CompactGameInfo` obviously can't store `Span`s, I tried with
`StringSegment`, but it made both lookups *and init* slower, thanks MS
2024-12-17 01:03:41 +10:00
YoshiRulz c2200cb234
Use allocless `ReadOnlySpan.Split` in `Database.InitializeWork`
reverts 4c69ce4e2
2024-12-17 01:03:41 +10:00
YoshiRulz d72332e97d
Backport `ReadOnlySpan.Split` and co.
Includes: `Range`/`Index` and other polyfilled types are now `public` in
BizHawk.Common rather than `internal` in each assembly. Not for dedup
reasons--though that's probably good too--just because it was necessary
for exposing these new `public` methods with `Range` in their params.
2024-12-17 01:03:41 +10:00
YoshiRulz 48f5125c84
Improve `BIZHAWKBUILD_RUN_ONLY_GAMEDB_INIT` 2024-12-17 01:03:41 +10:00
feos 9e9687f026 rework firmware icons
better tooltip for deal bind
2024-12-15 20:11:12 +03:00
YoshiRulz ab5d92f319
Add note to `--help` re: rom argument
thanks MS
2024-12-15 22:50:14 +10:00
YoshiRulz 6cb19d8b8e
Fix typos
fixes 8645ed3bb
so the speedup isn't as big as with the broken code, but it's close
I think I'll be changing this again to use Span and I'll reprofile then
2024-12-15 15:09:55 +10:00
YoshiRulz 8645ed3bb9
Optimise `Database.FormatHash`
runtime (as reported by `Database`) reduced by -14%, allocations reduced
by -5%, and number of calls reduced by -32%
this is all under Mono so YMMV
2024-12-15 14:37:31 +10:00
YoshiRulz be0736be46
Remove ancient text file from root of repo 2024-12-15 12:30:59 +10:00
feos fc2b37cab7 uae: fix DevilsTemple 2024-12-14 23:14:59 +03:00
feos 18078c8764 rename puae to uae
while libretro initially ported original puae (which is long dead), they switched to just pulling updates from winuae every once in a while (and renamed to libretro-uae), because it's still active and is kinda considered golden standard these days
2024-12-14 19:01:31 +03:00
feos 4274b75379 puae: fix drives population with slots 2024-12-14 18:39:29 +03:00
YoshiRulz 8f384c6ef6
Fix typo in readme
per
https://en.wikipedia.org/wiki/Talk:Apple_silicon/Archive_2#Requested_move_4_November_2021
2024-12-13 10:47:22 +10:00