CasualPokePlayer
5aeb1ada48
Add JIT support for melonDS
2025-08-11 12:48:56 -07:00
Morilli
a7a76c9af7
fix state manager Unreserve logic to always reject Unreserve(0)
...
by simply flipping these two ifs. It was not expected for a state manager to have only one state, which was the only scenario in which this would throw.
2025-08-11 07:18:14 +02:00
Morilli
feb6b870a6
add failing ZwinderStateManager test
2025-08-11 07:16:15 +02:00
CasualPokePlayer
b3a006eff2
Remove experimental label CGB-0 to C in SameBoy
...
This was placed in to match how upstream showed these settings, which now no longer considers these experimental, so remove them now that we've updated the core.
2025-08-10 11:12:59 -07:00
CasualPokePlayer
0b1b5c2ecd
Remove debug print
2025-08-10 05:16:23 -07:00
CasualPokePlayer
72d077f51b
Fix OOM with Clear NAND
2025-08-10 05:15:20 -07:00
CasualPokePlayer
ff7015ecad
Add better handling for cert.sys
2025-08-10 05:06:24 -07:00
CasualPokePlayer
eef4093efd
C# changes for DSi full bios boot, DLDI, DSi SD card
2025-08-10 04:59:10 -07:00
CasualPokePlayer
1e08789fe6
Add support for full DSi BIOS booting, DLDI, and DSi SD card
2025-08-10 04:56:33 -07:00
CasualPokePlayer
3b5ee836a2
For Clear NAND, shrink System Menu tmd if it is larger than normal
...
This might be larger than normal for Unlaunch exploited NANDs, shrinking the TMD undos unlaunch's install and restores the NAND back to a clean state
2025-08-09 12:50:57 -07:00
YoshiRulz
0ab971d4ef
Fix polyfill failure with `$(TestProjTargetFrameworkOverride)`
...
fixes ef600c574
2025-08-09 00:28:57 +10:00
YoshiRulz
ad8d960157
Enable CA1721, muting existing violations
...
"Property names should not match get methods"
2025-08-08 17:56:43 +10:00
YoshiRulz
a3c988f4c4
Enable CA1715, muting existing violations
...
(Interface) "Identifiers should have correct prefix"
2025-08-08 17:56:12 +10:00
YoshiRulz
47e2f53d33
Include all native libraries in all test projects
...
fixes ef600c574
probably could be narrowed but that wouldn't make the tests any stronger
2025-08-08 15:10:59 +10:00
Morilli
e3203bbefd
remove now-unnecessary compatibility arg
2025-08-08 07:07:47 +02:00
CasualPokePlayer
8a8a9de538
Fix pointer marshalling in BizInvoker
...
Fixes #4412
2025-08-07 21:59:12 -07:00
Morilli
77d5b7c300
align SDL axes directions
...
SDL2 reports positive right and down, so use that as default for both sticks and touchpad "axes". Because this swaps the orientation of up and down (for stick inputs), adjust the AxisPairOrientation enum to consider RightAndDown the default.
2025-08-08 06:48:42 +02:00
Morilli
64d2faefce
change all touch inputs to RightAndDown orientation
...
that's how these work: (+,+) is the bottom right corner.
2025-08-08 06:46:16 +02:00
YoshiRulz
cbc2a8c411
Nix expr: Regen NuGet lockfile
2025-08-08 04:00:14 +00:00
YoshiRulz
ef600c5745
Split unit test project
2025-08-08 13:57:50 +10:00
YoshiRulz
f329e4c3e2
Some misc. cleanups to project files and assembly metadata
2025-08-08 13:57:50 +10:00
YoshiRulz
e89ba513c0
Add Analyzer to suggest `span.IsEmpty` over `span.Length is 0`
2025-08-08 13:57:50 +10:00
YoshiRulz
d9a42ff3db
Add Analyzer to ban `override bool Equals(object?)` on `ref struct`s
...
It's pointless to call this method, and when you omit it the compiler
tries to emit a call to the base method which is a simple build error.
Also ban overriding `GetHashCode`, because I don't think that's useful
outside of hash tables (which you obvously can't use ref structs in),
and implementing one without the other is a bad practice anyway and will
be picked up by another Analyzer.
2025-08-08 13:57:43 +10:00
YoshiRulz
4b4a0d27dd
Simplify `ReflectionCacheGenerator` by reading `$(RootNamespace)` prop
2025-08-08 13:39:54 +10:00
YoshiRulz
de09c513cc
Copy MSBuild's `StableStringHash` and use in testroms project
2025-08-08 13:39:54 +10:00
YoshiRulz
0bcaffb4b3
Bump Magick.NET and MSBuild
2025-08-08 13:39:54 +10:00
YoshiRulz
40979ac2a1
Get testroms building again
...
fixes bba93b33d
, ffa5d45aa
, and fcb5d0d27
2025-08-08 13:39:54 +10:00
Morilli
e190a40176
implement analog axes for libretro
...
only X and Y for now, no analog buttons
2025-08-08 02:54:52 +02:00
Morilli
8a2dee8dad
apply AxisSpec.IsReversed in controller input
...
now specifying the AxisPairOrientation actually does something!
2025-08-08 02:45:32 +02:00
Morilli
336d37cfcf
fix asserts in LibretroBridge
...
these probably *shouldn't* be asserts in the first place but then again they should never be hit.
2025-08-08 02:42:39 +02:00
CasualPokePlayer
79f8542c5c
Fix loading NDS ROMs when "Use Real BIOS" is false
...
fixes 4424a71
2025-08-07 16:02:47 -07:00
Morilli
752dc8aaaa
don't fail on MovieSession.QueuedCoreName with libretro cores
...
fixes cc59818d6d
2025-08-07 09:44:18 +02:00
Morilli
44236fc19b
Only check SyncSettings on savestate load if the core has SyncSettings
...
fixes 656e173f64
2025-08-07 08:44:41 +02:00
Morilli
bb40bfde7b
correct sameboy version number
...
fixes 5a83736679
2025-08-07 00:09:58 +02:00
CasualPokePlayer
0fa1b3aeff
Don't NRE on disposing WaterboxCore before PreInit is called
...
Some cores throw and dispose early on junk passed in, resulting in throwing again here
2025-08-06 04:02:57 -07:00
CasualPokePlayer
4424a7103c
Add support for loading in backup TAD files
...
Kind of silly usecase, but it's not too bad to implement anyways
2025-08-06 04:02:57 -07:00
YoshiRulz
c2b1e0110b
Fix mixed line endings in DSDA
...
fixes 080017b80
2025-08-06 13:00:31 +10:00
YoshiRulz
656e173f64
Include sync settings in regular states and check them ( fixes #2090 )
2025-08-06 12:47:33 +10:00
YoshiRulz
e0222f13e3
Don't compress state/branch screenshots ( resolves #3734 )
2025-08-06 12:14:24 +10:00
SuuperW
5d891e0683
zstd compress text files, since zstd compressed files are now properly marked and accessible
2025-08-05 16:05:17 -05:00
SuuperW
576b08a88d
Rename json files to use .json extension. Since the loader ignores extensions, this has no consequences for users not manually opening our archive files.
2025-08-05 16:05:17 -05:00
SuuperW
df73d492d5
Mark zstd compressed files in movies and savestates.
...
This resolves #3734 . Bitmaps are still compressed, but clearly marked as such. Both Windows 11 File Explorer and 7-Zip File Manager can nicely decompress them.
Making zstd compression optional while loading also means files can be edited or replaced if necessary, e.g. changing the SRAM of a movie.
2025-08-05 16:05:17 -05:00
CasualPokePlayer
a707d3c6dc
Fix save type for Legacy of Ys - Books I & II
2025-08-03 15:15:08 -07:00
YoshiRulz
43666a8335
Add a commit to .git-blame-ignore-revs
...
and remove this pair since that doesn't work
2025-08-03 04:54:55 +10:00
YoshiRulz
2274bc011f
Ban instantiating `System.Random`
...
-_-
2025-08-03 04:38:33 +10:00
YoshiRulz
71d3d659b3
Enable SA1508 and fix noncompliance
...
"Closing braces should not be preceded by blank line"
2025-08-03 04:38:33 +10:00
YoshiRulz
fb1061c7ea
Make `PPU` (GBHawk) `abstract`
2025-08-03 04:38:33 +10:00
CasualPokePlayer
3fd021d359
Rebuild sameboy linux
2025-08-02 02:29:05 -07:00
CasualPokePlayer
954a27e930
Reduce the amount of system apps transferred over with "Clear NAND"
...
The current code breaks down currently for some NANDs (in particular Chinese and Korean NANDs) due to making some faulty assumptions. Instead of adding more code to handle these edge cases, I'm just opting to reduce the "Clear NAND" transfer to only the minimum core apps (System Menu, System Settings, and the various non-executable data files). With 51d92d328e
(and later commits) if the user really wants to use these "fun" system apps for a movie (where Clear NAND is forced) they can do so by directly loading them as ROMs.
2025-08-02 00:26:08 -07:00
Morilli
5a83736679
Update sameboy to v1.0.2
2025-08-01 19:41:29 +02:00