Commit Graph

22902 Commits

Author SHA1 Message Date
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
YoshiRulz ef9d64eb8a
Clean up how Analyzer rules are globally muted in Cores project 2025-08-01 14:02:24 +10:00
YoshiRulz 1570d4d786
Fix a bug in `FileID` and clean up some style issues 2025-08-01 14:02:24 +10:00
YoshiRulz bb9c20ecde
Unmute BHI1104 in Cores and resolve warnings
see 2a5d4b903
"Don't use ^= (XOR-assign) for inverting the value of booleans"
`LinkConnected` in `GambatteLink` was the only prop among these
2025-08-01 14:02:24 +10:00
YoshiRulz 3491c3cfe3
Unmute CA1825 in Cores and resolve warnings
"Avoid zero-length array allocations"
2025-08-01 14:02:24 +10:00
YoshiRulz 6a4b523228
Enable CA2214, muting existing violations
"Do not call overridable methods in constructors"
2025-08-01 14:02:24 +10:00
YoshiRulz a88cf4a3ae
Mute MA0084 in individual files instead of in the whole Cores project
and bump to error-level
"Local variable should not hide other symbols"
2025-08-01 14:02:24 +10:00
YoshiRulz 5f5ba6816c
Unmute MEN018 in Cores and resolve warnings
see 21cdc86e8
"Use Digit Separators" in integer literals
2025-08-01 14:02:23 +10:00
YoshiRulz 0f337930bd
Replace `BitConverter` calls in `Tape`(C64Hawk) with `MemoryMarshal`
see 10ebea4dd
2025-08-01 14:02:23 +10:00
YoshiRulz f0bb8675ee
Refactor `N64.GetCpuFlagsAndRegisters`
see 10ebea4dd
2025-08-01 14:02:23 +10:00
YoshiRulz 8fd7e682b6
Unmute SA1120 in Cores and resolve warnings
see dd455580d
"Comments should contain text"
2025-08-01 14:02:23 +10:00
YoshiRulz e4e9798e46
Fix indentation of attribute in `Lynx.cs` 2025-08-01 14:02:23 +10:00
YoshiRulz 691bff2a16
Unmute SA1205 in Cores and resolve warnings
"Partial elements should declare an access modifier"
for each of these, I've mirrored all modifiers except `unsafe` across
every partial
2025-08-01 14:02:23 +10:00
YoshiRulz 336be18285
Unmute SA1400 in Cores and resolve warnings
"Element should declare an access modifier"
2025-08-01 14:02:23 +10:00
YoshiRulz cf9168b15d
Refactor some list inits in Cores that were missing trailing commas 2025-08-01 14:02:22 +10:00
YoshiRulz 8e4c595b96
Add blank lines between declarations in `CoreInventory`+related types 2025-08-01 14:02:22 +10:00
YoshiRulz b8258db1b5
Fix a bunch of unsorted `using`s in Cores 2025-08-01 14:02:10 +10:00
YoshiRulz 44fadfb228
Add settings to the bundled `MovieClock.lua`, allowing for RTA timing 2025-08-01 06:55:07 +10:00
YoshiRulz f1fe5a03ee
Improve encapsulation of global `IEmulator` for `ClientLuaLibrary` 2025-08-01 06:55:07 +10:00
YoshiRulz bd433c8156
Enable CA1044 and fix noncompliance
"Properties should not be write only"
2025-07-31 01:40:54 +10:00
YoshiRulz 795055076c
Fix memoisation in `FilesystemFilterSet`
fixes 1232157cc, 0743a1f8e
2025-07-31 00:27:27 +10:00
YoshiRulz 0743a1f8ea
Add Analyzer for banning `init;` props
turns out you can write to `readonly` fields from these, which is a
convention I'm not willing to break
2025-07-30 03:35:45 +10:00
YoshiRulz f89949520e
Fix code style warnings in iso-parser
fixes 5de736af0, 7df0cef0d
2025-07-30 03:35:09 +10:00
CasualPokePlayer 0cdfec89b3 Fix DSiWare detection 2025-07-28 22:47:48 -07:00
CasualPokePlayer e8322dc5d6 melonDS unmanaged side changes for previous commit 2025-07-28 21:35:22 -07:00
CasualPokePlayer 51d92d328e Add support for importing in DSi NAND apps that are not DSiWare
They'll be considered internally "DSiWare" for purposes of save management and the movie header (although they aren't technically DSiWare, just system DSi NAND apps)
2025-07-28 21:33:24 -07:00
feos c5dbf34ccd dsda: advance finale in doom2 & co 2025-07-28 23:38:10 +03:00
CasualPokePlayer 56f3a2d692 Remove FS304 class, fix Mapper162 with UNIF
FS304 is the same mapper as Mapper162, although it appears to be an earlier attempt at implementing it, with it being less complete than Mapper162 (and not even having savestate code implemented). It even having the same UNIF mapper string used seems to also make it so there's some "randomness" in terms of which class gets used for a UNIF ROM of this mapper (in my experience, 2.10 resulted in Mapper162 being used, while my own dev builds resulted in FS304 being used). UNIF configuration from FS304 is needed for it to be functional in Mapper162 however, so that was ported over.
2025-07-26 23:36:00 -07:00
CasualPokePlayer 6248c9326e Fix NES 2.0 exponent-multiplier ROM size parsing 2025-07-26 16:01:32 -07:00
CasualPokePlayer 14c84e655d Rebuild quickerNES Linux 2025-07-26 13:46:52 -07:00