Commit Graph

22787 Commits

Author SHA1 Message Date
CasualPokePlayer 6960e99846 Fix TMD content size read 2025-07-17 15:10:39 -07:00
CasualPokePlayer ea34856fb0 Harden NAND clearing again, ensure file sizes are as expected 2025-07-17 14:55:49 -07:00
CasualPokePlayer 4d9a9fe44f Better handle cert.sys when clearing NAND 2025-07-17 12:39:24 -07:00
CasualPokePlayer 323fbe0ba3 Add blank private.sav files for system files 2025-07-16 19:34:21 -07:00
CasualPokePlayer 22fa04c80b Fix Jan 1, 2000 timestamp 2025-07-16 17:18:39 -07:00
CasualPokePlayer 84e9d131fe Fix pit.bin file path; make sure fat time is always DS epoch (Jan 1, 2000) instead of time(0) 2025-07-16 16:19:29 -07:00
CasualPokePlayer c551f1c5ad Also push rebuild of previous commit 2025-07-16 15:45:49 -07:00
CasualPokePlayer f15c494f13 Harden NAND clearing
This takes a more sledgehammer approach, as it seems even tiny minor difference in the NAND structure can cause sync issues. This is even the case if the entire directory tree and every file is identical (I guess order of files internally matters here or whatever). The entire partition will be recreated here with files manually readded as to minimize NAND differences (assuming system files are the same version anyways)
2025-07-16 15:45:49 -07:00
CasualPokePlayer a05c16d89b Workaround compiler crash 2025-07-16 15:45:49 -07:00
CasualPokePlayer 4cd30674e8 Adjust link script for newer clang versions
melonDS compilation complained the sections weren't aligned to 128, so I guess that's needed for alignment now?
2025-07-16 15:45:49 -07:00
feos af62d83865 dsda: fix defctrl.json 2025-07-14 18:38:31 +03:00
YoshiRulz 35ce3f56c5
Fix `NoTargetTypedThrowAnalyzer` choking on `throw obj.AField;` 2025-07-13 17:11:00 +10:00
YoshiRulz aaefdeaadc
Add BHI6660 to rules declared by several `BizHawk.Analyzer.*Analyzer`
will rebuild in later commit
2025-07-13 17:10:46 +10:00
YoshiRulz 8fcaac676a
Make shader file picker (in `DisplayConfig`) open in data base dir 2025-07-13 16:07:05 +10:00
YoshiRulz b4b95a1e41
Raise level of CA1065 to error
fixes fcb5d0d27
just forgot to stage this
2025-07-13 16:06:26 +10:00
YoshiRulz fcb5d0d273
Enable CA1065 and fix noncompliance
"Do not raise exceptions in unexpected locations" (e.g. static ctors and
`IDisposable.Dispose`, but also prop getters which is a bit annoying)
2025-07-13 15:57:27 +10:00
YoshiRulz 2ccddbd99e
Fix behaviour of `SharpCompressArchiveFile` around disposal 2025-07-13 15:40:07 +10:00
Morilli 766dce5105 fix DATParser 2025-07-12 14:56:05 +02:00
YoshiRulz 25203c59aa
Revert "Set `MONO_THREADS_SUSPEND=preemptive`" (fixes #4396)
This reverts commit 83098604fa.

Caused EmuHawk to hang after some minutes of running emulation, on
Ubuntu (Mono 6.8.0.105) and I think NixOS (Mono 6.12.0.182).
2025-07-12 15:28:58 +10:00
Morilli 6284b56e81 bsnes: implement r/w callback value passing
The value will now be passed to the frontend for read callbacks and both read and write callbacks' values can now be changed in the callback.

execute would probably be possible but would require some additional code changes which I'm not sure about
2025-07-10 20:06:29 +02:00
Morilli 6fe1b2d190 remove heuristic A/V desync exception in NutMuxer
- closes #4394

I assume this was meant as a sanity check expecting it to never be hit. Well, turns out if you break games hard enough this does get hit, so just remove it.
2025-07-10 02:41:34 +02:00
Morilli 2f184c99fe use ArrayPool instead of custom ReusableBufferPool in NutMuxer 2025-07-10 02:40:04 +02:00
YoshiRulz e230178b22
GitHub Actions: Specify artifact retention explicitly 2025-07-09 17:45:36 +10:00
Morilli 97031fdc95 "fix" encore build scripts for cmake 4 2025-07-08 00:58:31 +02:00
CasualPokePlayer 21b8331331 Update encore for clang 20 support, rebuild on Linux 2025-07-07 15:13:49 -07:00
CasualPokePlayer 0eb2f9fd64 Update Encore, rebuild
Resolves #4374
2025-07-07 13:25:29 -07:00
Morilli f6c027f10e NLua: remove this[string field] overloads on LuaTable and LuaUserData
- closes #4387

Those overloads try to imitate lua's "a.b" parsing by navigating tables recursively, e.g. `table["a.b"]` == `table.a.b`. This is not what's intended by 100% of the use cases of these overloads, so I've removed them.
2025-07-07 18:26:54 +02:00
Morilli b01ae4b757 fix nlua build with analyzers 2025-07-07 18:11:06 +02:00
Morilli e4cf5d2955 fix virtu keyboard serialization
- closes #4392
2025-07-07 15:21:44 +02:00
Morilli fa77b408ff fix virtu build with analyzers 2025-07-07 15:21:25 +02:00
YoshiRulz 8486b56395
Explicitly disable many Roslynator rules 2025-07-07 15:55:43 +10:00
YoshiRulz 6381c93a61
Explicitly enable some Roslynator rules 2025-07-07 15:51:57 +10:00
YoshiRulz 1a5bb54b8a
Enable RCS1249 and fix noncompliance
"Unnecessary null-forgiving operator"
2025-07-07 15:51:57 +10:00
YoshiRulz 64ab7a6663
Enable RCS1246 and fix noncompliance
"Use element access" (indexer, instead of LINQ)
2025-07-07 15:51:57 +10:00
YoshiRulz 734038dc97
Fix some typos in doc comments and enable RCS1243
"Duplicate word in a comment"
2025-07-07 15:51:50 +10:00
YoshiRulz 45b9e30328
Enable RCS1240 and fix noncompliance
"Operator is unnecessary" (`Array.Length` can't be negative)
2025-07-07 15:49:17 +10:00
YoshiRulz 002fb15db4
Enable RCS1236 and fix noncompliance
"Use exception filter" (`catch when`)
2025-07-07 15:47:58 +10:00
YoshiRulz 7df0cef0db
Enable RCS1226, except in Cores, and mute 2 other existing violations
"Add paragraph to documentation comment" (line break without markup
results in collapsed space, like in HTML)
2025-07-07 15:39:58 +10:00
YoshiRulz 5d76b92a41
Reformat docs of `IController.To{BoolButton,AxisControl}NameList` 2025-07-07 15:39:50 +10:00
YoshiRulz 9c452a42ce
Enable RCS1224, muting existing violations
"Make method an extension method"
2025-07-07 15:38:36 +10:00
YoshiRulz f3882d1eec
Remove unused method `StringExtensions.CharCodepointsToString` 2025-07-07 15:38:36 +10:00
YoshiRulz ea710e8387
Enable RCS1195 and fix noncompliance 2025-07-07 15:33:29 +10:00
YoshiRulz c4eb5f98da
Enable RCS1160 and fix noncompliance
"Abstract type should not have public constructors"
2025-07-07 15:27:37 +10:00
YoshiRulz 14fa099cdf
Enable RCS1130 and fix noncompliance
"Bitwise operation on enum without Flags attribute"
2025-07-07 14:52:15 +10:00
YoshiRulz 5a6f95a131
Enable RCS1157 and RCS1191 and fix noncompliance
"Composite enum value contains undefined flag"
and "Declare enum value as combination of names"
2025-07-07 14:48:35 +10:00
YoshiRulz 2a1ee02a21
Dispose `IEnumerator` in `CollectionExtensions.Unanimity`
fixes b4105f942
2025-07-07 14:43:18 +10:00
YoshiRulz deaee2a648
Fix buttons named `"."` being given the mnemonic `'.'` (fixes #4391)
see a41817b70
2025-07-07 14:41:46 +10:00
Morilli 8f01fb755e BSNESv115+: update from upstream 2025-07-06 01:26:03 +02:00
YoshiRulz c9bbb81c15
Blindly attempt to wire up screen reader support for OSD messages
no pun intended
2025-07-06 08:24:46 +10:00
YoshiRulz 6d34456cd7
Ensure OSD messages go via `IDialogController.AddOnScreenMessage` 2025-07-06 07:55:04 +10:00