Commit Graph

22396 Commits

Author SHA1 Message Date
YoshiRulz 1983966d18
Add some more validation to `{FFmpeg,RAIntegration}DownloaderForm`
see #4275
2025-04-10 21:44:46 +10:00
YoshiRulz 15cdf2d49d
Extract parent class from `{FFmpeg,RAIntegration}DownloaderForm` 2025-04-10 21:40:40 +10:00
YoshiRulz b52bce6fe0
Copy improvements between `{FFmpeg,RAIntegration}DownloaderForm` 2025-04-10 21:37:31 +10:00
YoshiRulz 3ba9831178
Code style fixes to `{FFmpeg,RAIntegration}DownloaderForm` 2025-04-10 21:36:49 +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
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