Commit Graph

22378 Commits

Author SHA1 Message Date
YoshiRulz 23238a848f
Remove (old) BSNES' unmanaged source and the binary 2025-04-08 16:03:29 +10:00
YoshiRulz 41faf25ef6
Remove most of (old) BSNES' managed source and callsites 2025-04-08 16:03:29 +10:00
YoshiRulz 4f729959c7
Remove `snes` Lua library (only affected old BSNES) in favour of `emu` 2025-04-08 15:45:30 +10:00
YoshiRulz 967ae76dfd
Make SNES layer hotkeys work for new BSNES 2025-04-08 15:45:10 +10:00
YoshiRulz 28264c6dee
Set core icon for new BSNES 2025-04-08 15:36:37 +10:00
YoshiRulz 57d612f4b4
Allow NesHawk to load MMC5 w/ 128KiB WRAM from NES 2.0 headers
don't think this is working correctly but it doesn't crash
2025-04-08 14:07:10 +10:00
YoshiRulz 60fdcb3f72
Fix parsing of PRG-/CHR-ROM size from NES 2.0 headers (NesHawk) 2025-04-08 12:24:54 +10:00
YoshiRulz 41ad4ff6e9
Fix copying of SDL2 lib to `/Assets` when building w/ debug symbols 2025-04-07 10:07:15 +10:00
CasualPokePlayer 976f430531 Rebuild gambatte linux 2025-04-05 13:04:30 -07:00
CasualPokePlayer 085437a346 [Gambatte] Revert AGB forcing DAC enable code (not really accurate), adjust SGB transfers to not invoke UB nor endian dependencies 2025-04-05 12:39:33 -07:00
feos dd28599451 dsda: show_messages setting 2025-04-05 21:54:07 +03:00
feos ba48066748 dsda: automap controls (and live gamma toggle)
limited to vanilla functionality
currently only works for doom, will require refactoring to work universally
2025-04-03 23:34:18 +03:00
feos a74100ff9f more buttons 2025-04-03 23:34:18 +03:00
VelpaChallenger 53cdf182ae
Pass values to memory callbacks in GPGX (squashed PR #3821)
* fix on_bus_read issue for genplus-gx core

- related to issue #3813
- update signatures, create new value variable in each of the memory read core functions, pass it to the callback and return it instead of the inline calculations. Also, pass val to write and exec callbacks in IDebuggable since they all use the same mem_cb signature and it would break otherwise. I want to update write and exec callbacks in next commit though to ensure nothing unexpected happens.

* update write callbacks for genplus-gx

- related to issue #3813

* update exec callbacks for genplus-gx

- closes #3813

* twice memory peek for deep freeze via on_bus_read bizhawk

Read a first time to pass the read value to the callback, read a second time to read the updated value in case it was updated by the callback and effectively deep freeze the value, no matter if 8, 16 or 32 width

* remove lines from unknown source

I have no idea where those lines came from. But I never meant to add them. This should look like it currently looks in master

* reinsert const, use implicit delegate constructors

* update submodule commit to before override memory values

* rename a to addr, unsigned int to just unsigned
2025-04-04 05:46:57 +10:00
CasualPokePlayer a562a0d23c Try to use UTF8 for OpenAL device strings
Hopefully fixes #4281
2025-03-31 10:17:11 -07:00
Morilli cf12159f55 make do-everything.sh fail properly 2025-03-31 02:56:48 +02:00
Morilli 96d192735e fix libcxx configure 0 for cmake 4 2025-03-31 02:55:25 +02:00
CasualPokePlayer 5a020c1e9e Prevent crash in SoundOutputProvider due to negative sample count being computed
In practice this doesn't occur ever except with subframe core abuse with tiny sample counts being spammed
2025-03-28 16:47:39 -07:00
CasualPokePlayer 60d7ddbffc Prevent submitting more XAudio2 buffers than XAUDIO2_MAX_QUEUED_BUFFERS (64)
Resolves #4116
2025-03-28 16:22:24 -07:00
YoshiRulz 76cf9127d4
Fix typo in `DWordWatch.ResetPrevious` (4-byte)
broken since at least migration to Git
2025-03-29 08:18:21 +10:00
YoshiRulz 6b06d50085
Enable CA1868 and fix noncompliance
"Unnecessary call to 'Contains' for sets"
2025-03-29 08:11:16 +10:00
YoshiRulz 5de736af0e
Enable CA1854 and fix concompliance
"Prefer the `IDictionary.TryGetValue(TKey, out TValue)` method"
2025-03-29 08:11:16 +10:00
YoshiRulz c5d4e8b783
Enable CA2019 and fix noncompliance
"`ThreadStatic` fields should not use inline initialization"
2025-03-29 08:11:16 +10:00
YoshiRulz 8cfb0599e5
Enable SA1413 except in Cores and satellite .NET projects
"Use trailing comma in multi-line initializers"
2025-03-29 07:18:53 +10:00
YoshiRulz ba12785fe2
Add trailing commas to object initialisers and `with` expressions 2025-03-29 07:18:53 +10:00
YoshiRulz 613ff73a5a
Add trailing commas to collection initialisers 2025-03-29 07:18:52 +10:00
YoshiRulz a8e7c3d031
Add trailing commas to `switch` expressions 2025-03-29 07:18:49 +10:00
YoshiRulz dcd78b4107
Reflow and add trailing commas to enum definitions 2025-03-29 07:18:31 +10:00
YoshiRulz 4c76aeba8a
Reflow `NESMusicRipper.FreqTable` 2025-03-29 07:18:31 +10:00
YoshiRulz 8a99246796
Fix comma placement 2025-03-29 07:18:30 +10:00
YoshiRulz bdf22bb1b8
Simplify some misc. `Substring` usage 2025-03-29 07:18:30 +10:00
YoshiRulz f25b992a4e
Simplify `EmulatorExtensions.ToControlNameList`
also fixes it for controllerNum >= 10
2025-03-29 07:18:30 +10:00
YoshiRulz 5f76e3cc74
Minor refactors in `WatchEditor` 2025-03-29 07:17:08 +10:00
YoshiRulz 1aa83b7c12
Add and use `ComboBox.ReplaceItems` extension 2025-03-29 07:16:07 +10:00
YoshiRulz e8df779cc7
Missed a spot for `ReplaceDropDownItems` extension 2025-03-29 07:05:19 +10:00
YoshiRulz 72c8a00462
Fix code style warnings in testroms projects 2025-03-29 07:05:19 +10:00
YoshiRulz ec0510367a
Fix compilation of Bizware.Test app 2025-03-29 07:05:19 +10:00
YoshiRulz 9ac560d49d
Remove unused enum `BizHawkExternalToolUsage` 2025-03-28 10:29:56 +10:00
YoshiRulz 32a8193c74
Fix value of `CLSCTX.ALLOW_LOWER_TRUST_REGISTRATION` 2025-03-28 10:00:46 +10:00
YoshiRulz a80399860d
Merge `--gdi` handling into `ArgParser` (resolves #4201)
funny story, the `--gdi` handler didn't remove it from the `args` array,
so it's always been parsed as a rom filename and obviously failing, but
before bd58bde07 it was failing silently
2025-03-28 04:40:14 +10:00
YoshiRulz 4bc2f31d77
Simplify `MovieEndPlaySoundMenuItem_Click`
fixes 289c5cff9
also standardise these menu items to title case
2025-03-27 05:18:46 +10:00
Morilli c9d8ab0e43 fix test
fixes 289c5cff9b
2025-03-26 19:57:26 +01:00
Morilli b88c557b46 speedup BizBox (About dialog) load 2025-03-26 19:23:25 +01:00
Morilli 289c5cff9b add option to play sound on movie end
requested in #2926
2025-03-26 19:20:13 +01:00
Morilli 6ead2ddee8 increment rerecords when rewinding
- closes #3707
2025-03-25 06:18:41 +01:00
Morilli a24311c2d1 fix exception in faust constructor
- closes #4278, fixes ab8eb0405c
2025-03-25 04:57:21 +01:00
Morilli 861166080f make autopause at tend of movie work in tastudio
- closes #2622

not sure if this should always apply or only in playback mode but probably doesn't matter too much.

Also changed the default to false because that's what it's effectively been for many years
2025-03-25 04:38:23 +01:00
Morilli 69862fef70 simplify frame advance bool logic
this now also prevents _runloopFrameProgress from potentially getting stuck after rewinding and fixes some other obscure interactions with frame advance and rewind.

- added 2 bugs
2025-03-23 15:20:09 +01:00
Morilli 98e8901076 simplify Throttle.Step
this should also fix bugs where skipNextFrame could be stuck at true and otherwise not change behavior.

Surely this won't introduce any bugs
2025-03-23 03:16:11 +01:00
Morilli 0e0fe37ffa fix CheatCollection.UpdateDomains throwing when separators exist 2025-03-23 01:03:59 +01:00