Commit Graph

22284 Commits

Author SHA1 Message Date
feos 7a0c4d398f mame: fix crash for view names containing commas
the way the initial lists are populated is kinda hacky because we need some separators and split the results using them. it's impossible to make sure they won't use that separator in a name in the future. maybe there's a better way than listing every available name in entire mame and finding which symbols never appear there and using them as separators (tho I admit for views I didn't even do that and relied on users running the thing).
2025-03-15 16:57:04 +03:00
CasualPokePlayer 38f8e3a9b4 Add Void Linux liblua naming method
Yes, it's actually named liblua5.4.so.5.4
2025-03-15 01:53:12 -07:00
Morilli c5aa085a8a CI: split up waterbox compile jobs into multiple workflows
This allows finetuning the on: conditions for each workflow and gives a better base for future work where we might want more workflows or more separation between waterbox cores.

Quicknes being in the waterbox workflow made no sense to begin with.

I've also used the cache action to cache the waterbox build which should prevent unnecessary rebuilds and improve speed slightly. I'm not really happy with the way reusable workflows work as they require re-cloning the repository and re-fetching clang, but the alternative would be copy-pasting the waterbox build action everywhere as far as I can tell.
2025-03-15 09:19:14 +01:00
feos 4a3ad3a1d1 dsda: fix build, spacing 2025-03-14 18:10:43 +03:00
Morilli 6665e0e35e fix dsda CI build 2025-03-14 14:59:20 +01:00
Morilli 44dc0f4461 pass args and fix ares build call 2025-03-14 14:49:41 +01:00
Morilli 3a4815d3da make make-all-cores.sh error properly 2025-03-14 14:41:36 +01:00
feos aa7b78894a dsda: convert c++ to c 2025-03-14 16:07:28 +03:00
CasualPokePlayer 8e8d718c7e Make sure to recreate stored pipelines on resetting D3D11 device
Fixes crashes whenever a reset ends up occurring due to a lost device
2025-03-12 15:32:14 -07:00
YoshiRulz 6cedcc2221
Resolve a code style warning in `HuC6280` 2025-03-13 07:16:29 +10:00
bigbass1997 abc6900c72 Changed print statement to only appear in debug builds 2025-03-13 07:11:13 +10:00
YoshiRulz 7ccd69bd5b
Add a couple dumps to gamedb
`U` is very different from the `G` but still loads?
see #4268
2025-03-13 06:43:54 +10:00
YoshiRulz e94a20877a
Improve one of the Satellaview header heuristics (resolves #4268) 2025-03-13 06:43:54 +10:00
feos 6965767328 dsda: fix -warp
only doom1 uses episode number in -warp, all the rest ignore it and use the first digit to set map (episode is forced to 1 for them). to detect this we now ask the core which gamemode it is (which determines it internally too).

rename complevel setting
2025-03-12 20:40:29 +03:00
Morilli c826344637 update snes9x
- closes #4260, closes #4194
2025-03-08 22:20:28 +01:00
YoshiRulz ce21993ec4
Print caught exception in `SavestateFile.Load`
fixes 1c0e72b16
2025-03-08 15:25:29 +10:00
Morilli 1fa31fe0e9 update quickernes
- closes #4243
2025-03-07 22:40:36 +01:00
Morilli 1c0e72b169 catch exceptions in savestate load
see also #2090. This can reasonably catch and handle simple load failures like all waterbox loads and some others.

Not calling the issue fixed because there is more that can be done to prevent cores from trying to load invalid savestates.
2025-03-07 22:23:43 +01:00
feos b0b32bea6a mouse capture: restrict to center
various toolbars may exist near screen edges, we don't want them to be triggered when hawk has "captured" the mouse, especially in fullscreen. I considered taking into account when hawk window is partly offscreen but it's hard to expect anyone would play that way - normal scenario is fullscreen, so screen edges are automatically pushed away from. dialogs covering hawk are even less likely to remain during mouse capture, so we don't care about mouse appearing on them.
2025-03-05 19:47:13 +03:00
feos ca214fc4f0 dsda: actually send -fast 2025-03-05 19:47:13 +03:00
YoshiRulz 957029fc30
Add and use `Insert{Before,After}{,Last}` helpers 2025-03-05 20:09:57 +10:00
CasualPokePlayer 7d876dee2c Fix XkbAllocKeyboard declaration 2025-03-04 16:36:47 -08:00
Morilli 8ba8bd61b4 increase initial toolbox size
also increase image size on high dpi
2025-03-04 19:54:08 +01:00
Morilli 843051a2fd handle dpi properly in NES ppu viewer
- also fixes #4246
2025-03-04 10:35:32 +01:00
Morilli a64d7627ce make UIHelper.Scale* scale with dpi
trust me
2025-03-04 10:30:56 +01:00
YoshiRulz f56cc896d8
Alphabetise lists of cores in `EmulationApi` methods
see 724a7393e
2025-03-04 15:07:42 +10:00
Kevin Watters 443faae403 implement emu.setrenderplanes in EmulationApi for snes9x 2025-03-03 22:37:43 +10:00
YoshiRulz 7f25044498
Improve display of errors from Cheat Code Converter 2025-03-03 13:24:00 +10:00
YoshiRulz fa15e35603
Remove `GEN` `[CoreConstructor]` from PicoDrive32x
fixes a42b25976
2025-03-03 13:03:27 +10:00
feos 11cb444b2c dsda: fix aspect on 3x+ and add pistolstart 2025-03-02 11:13:33 +03:00
CasualPokePlayer 05722664e0 Throw Lua errors on lua cothread they were done on (instead of the main cothread)
Fixes #4252
2025-03-01 22:29:55 -08:00
CasualPokePlayer a42b259762 Stop exposing PicoDrive as a selectable option for Genesis
The core as it is is a very poor choice for Genesis. Much worse compatibility, very noticeably worse audio, and it's not like GPGX is hurting badly in the performance department. It's also very outdated compared to upstream (making these problems much worse than if it was updated). It was only in BizHawk to handle 32X games to begin with (as there aren't many options for 32X to begin with), with Genesis fallback support (without user selectability!) just tacked on "because we can."

Perhaps with a core update it could be more reasonable to allow users to select this, but for now, nope.

Closes #4251, #4250, #4235
2025-03-01 17:56:23 -08:00
Morilli c476dbbf79 draw axis numbers rotated in horizontal tastudio
see https://github.com/TASEmulators/BizHawk/issues/3708#issuecomment-2501398001
2025-03-02 00:34:42 +01:00
feos 5b7e7b4642 dsda: bit closer to vanilla
todo: make these optional
2025-03-01 23:33:11 +03:00
feos 7c5d050cde dsda: expose resolution factor and gamma
see #4236

rename Core to _core since it's private
2025-03-01 20:58:23 +03:00
feos 4a7e0c6008 dsda: fix missing sounds
proper aspect ratio
2025-03-01 17:19:56 +03:00
YoshiRulz f409cc445d
Make Lua `savestate.*` functions return `false` when C# call throws 2025-03-01 09:00:35 +10:00
YoshiRulz 6b4d0faba9
Work around Mono bug (resolves #4248) 2025-03-01 08:52:10 +10:00
feos 905c972738 dsda: parse our own config file
set vanilla res as a start
2025-02-27 23:16:44 +03:00
feos cde108b928 dsda: mouse movement should be accurate now (barring obscure tweaks)
demos still sync btw

horizontal mouse was calibrated for my machine, dunno about others. for me 1-pixel relative movement results in 272-pixel deltas, so I divide it inside the core for now

when the global sensitivity option is there, I'll drop sensitivity syncsettings and rely on client ones that I'll configure to match default dsda sensitivity.
2025-02-26 23:37:23 +03:00
feos dd6beccfb0 dsda warnings 2025-02-26 19:50:16 +03:00
Morilli 927b41bd41 Revert "Set `$(AnalysisLevelStyle)` to 9 to work around SDK bug/footgun"
This reverts commit ae4af29849.
2025-02-26 14:51:37 +01:00
feos f6538289dc dsda: fix lmp import
only tested on doom, no idea if movies for other 2 even exist lol
2025-02-25 23:21:23 +03:00
feos d628f035f7 dsda: commit c_cpp_properties.json 2025-02-25 20:09:20 +03:00
feos 09fcf37d79 meaningless tweaks 2025-02-25 19:19:58 +03:00
feos 5539557b27 dsda: "always run" option
upstream uses a hotkey toggle instead but vanilla didn't have it. even "always run" itself was just a vanilla bug. I don't want to have a special on-the-fly input for autorun toggle, hopefully user either wants to always run + occasional mouse movement, or only run using the proper button
2025-02-25 19:05:33 +03:00
CasualPokePlayer 0311bb5d39 Make mouse capture handle window moving/resizing/focus change, cleanup presentation panel resize handling 2025-02-24 16:09:01 -08:00
feos a2daa48cf4 dsda: actually fix turning for demos 2025-02-24 23:25:51 +03:00
feos 4cf20df155 dsda: pass turning resolution to controller ctor
this allows to properly set available range which makes demos sync again (aside from weapon switching that I broke)
when importing demos we now force shorttics (even tho some source ports can record demos with longtics depending on compatibility level but importing those is for the later time)
2025-02-24 22:02:04 +03:00
YoshiRulz ae4af29849
Set `$(AnalysisLevelStyle)` to 9 to work around SDK bug/footgun
https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/language-rules#option-format
2025-02-25 03:14:25 +10:00