Commit Graph

22907 Commits

Author SHA1 Message Date
YoshiRulz cfcb71e5a8
Add real-time clock to `Emulation` menu above core name
`MovieClock.lua` can stay as it is
2025-08-17 02:49:18 +10:00
CasualPokePlayer 5feda201f8 Increase melonDS's sbrk heap
JIT recompiler likes to use this a lot
2025-08-16 01:53:54 -07:00
CasualPokePlayer 98a7b02d34 Fix mono AAC decoding 2025-08-16 01:48:49 -07:00
CasualPokePlayer 460c65cbe4 Fix melonDS resampling 2025-08-15 23:50:05 -07:00
CasualPokePlayer e70d92c1c4 Implement AAC decoder for melonDS 2025-08-15 23:12:18 -07:00
CasualPokePlayer 7b47f76c91 Actually pass userdata to cartridges 2025-08-15 17:28:54 -07:00
CasualPokePlayer 6c9d6f7995 Update melonDS c# side for melonDS update 2025-08-15 16:55:51 -07:00
CasualPokePlayer e79d7c3b48 fix permissions of newly added files 2025-08-15 16:54:21 -07:00
CasualPokePlayer 426a32309c Update melonDS (after DSP HLE merge)
A bit more work is needed (for the AAC decoder)
2025-08-15 16:51:36 -07:00
CasualPokePlayer c8ef4b7923 Fixup 32X loading
Broken since fa15e35603

Resolves #4419
2025-08-14 17:55:46 -07:00
YoshiRulz 7c7114b27e
Fix extra period in filename `LagLog..json.zst` in movies
fixes 576b08a88 (#4337)
2025-08-14 19:27:22 +10:00
YoshiRulz 61ce55ab4c
Add top-level dir to all states and movies on Linux (resolves #4416) 2025-08-14 13:34:56 +10:00
YoshiRulz 0cc09027ba
Rename type parameters of `CoreLoadParameters<,>` 2025-08-14 13:12:39 +10:00
Morilli 25e71267b8 Don't zstd-compress most text files
Except LagLog as it's arguably the least user-editable and also the largest (compressed) text file.

See comments on 5d891e0683 for more context.
2025-08-13 14:22:58 +02:00
Morilli 9c4bf46cb0 save bk2 savestate framebuffer as bmp
instead of the raw int array, see #3734

also save them without zstd compression
2025-08-13 14:22:28 +02:00
CasualPokePlayer b719360f0b Revert "Don't compress most text files in states/movies (resolves #4415)"
This reverts commit 5cbc1de0b8.

On principle of the previous revert, no acceptance of any Copilot or other ML tool code.
2025-08-12 23:06:05 -07:00
CasualPokePlayer 71448df654 Revert "Don't compress screenshot of state in from-savestate movie"
This reverts commit 5c3f81fe44.

On principle of the previous revert, no acceptance of any Copilot or other ML tool code.
2025-08-12 23:04:47 -07:00
CasualPokePlayer 0568b2af29 Revert "Add GitHub Copilot config, limiting it to managed code"
This reverts commit 29e7f3971d.

We're not having Copilot be allowed here without further discussion.
2025-08-12 23:03:17 -07:00
YoshiRulz 5cbc1de0b8
Don't compress most text files in states/movies (resolves #4415)
fixes 5d891e068
2025-08-13 15:52:26 +10:00
YoshiRulz 5c3f81fe44
Don't compress screenshot of state in from-savestate movie
fixes e0222f13e, see #3734
2025-08-13 15:37:18 +10:00
YoshiRulz 29e7f3971d
Add GitHub Copilot config, limiting it to managed code
Crucially, having it self-identify on every change, and leave comments.
I'll look into other agents later; there's no standard for how to
configure them like there is for IDEs, but on the bright side the config
is all natural language so a symlink to this file would probably work.
2025-08-13 15:14:45 +10:00
YoshiRulz a630b729aa
Add GitHub Actions badge to PR template 2025-08-12 23:11:06 +10:00
CasualPokePlayer 35c3f76d89 Shrink the decompressed ELF size of melonDS down by 128MiBs
This more just reduces memory usage when decompressing the .zst if anything.
2025-08-11 23:45:05 -07:00
CasualPokePlayer b1dbdf7986 Increase invisible heap size for melonDS by 128MiBs 2025-08-11 23:44:21 -07:00
CasualPokePlayer ddba1f21ff Fix NRE when JIT is enabled for melonDS 2025-08-11 20:22:53 -07:00
CasualPokePlayer d9ae6d9a4f C# side changes for melonDS JIT support 2025-08-11 20:20:26 -07:00
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