Sintendo
f2e1c71803
Common/FileSearch: Refactor DoFileSearch
2026-01-24 16:50:10 +01:00
iwubcode
373e35ed5b
Merge pull request #14267 from jordan-woyak/std-expected
...
Common: Replace Result with std::expected.
2026-01-17 22:33:15 -06:00
Jordan Woyak
dffc7a650d
Common: Replace Result with C++23's std::expected.
2026-01-17 16:58:45 -06:00
Sintendo
1e0473e44f
Fix various typos and spelling mistakes
2026-01-17 20:11:38 +01:00
Dentomologist
b1c9c13ca3
VolumeFileBlobReader: Define default destructor in source file
...
Fix an error generated by Clang from the destructor of
`std::unique_ptr<FileInfo> m_file_info` when setting the standard
version to c++23:
`invalid application of 'sizeof' to an incomplete type 'DiscIO::FileInfo'`
2026-01-04 17:56:08 -08:00
Jordan Woyak
93e5f58460
DiscIO/Volume: Fix CreateVolume for WiiWare.
2026-01-02 14:55:20 -06:00
JMC47
b1f0d883cf
Merge pull request #14174 from JoshuaVandaele/minizips-cmake
...
Use minizip-ng's CMakeLists instead of relying on our own implementation
2025-12-22 13:36:52 -05:00
JMC47
8a64bc499f
Merge pull request #14154 from jordan-woyak/result-parameter-order
...
Common/Result: Swap order of template parameters to match C++26's std::expected.
2025-12-22 13:34:11 -05:00
Joshua Vandaële
025ff87a27
Use minizip-ng's CMakeLists instead of relying on our own implementation
...
This is a carry over from back when we used `minizip` and had our own CMakeLists for it.
2025-11-27 00:18:31 +01:00
Jordan Woyak
e5ad814142
Core/DiscIO: Add a setting to load the running game into memory via CachedBlobReader.
2025-11-23 05:17:22 -06:00
Jordan Woyak
d7c3513eae
DiscIO: Add CachedBlobReader which takes another BlobReader and reads it into memory in the background.
2025-11-23 05:17:22 -06:00
Jordan Woyak
127e068e51
Common/Result: Swap order of template parameters to match C++26's std::expected, make all member functions constexpr, and add moving "unexpected" conversion constructor for consistency.
2025-11-21 19:24:48 -06:00
Jordan Woyak
2acb49544c
Merge pull request #13539 from tygyh/DiscIO-Remove-redundant-casts
...
DiscIO: Remove redundant casts
2025-11-19 17:40:42 -06:00
Jordan Woyak
239330017c
DiscIO: Make all BlobReader implementations use DirectIOFile to make CopyReader functionality thread safe.
2025-11-09 03:08:14 -06:00
Martino Fontana
8a97ce9124
MMU: Use templates for Read/Write functions
2025-10-08 11:27:06 +02:00
Tillmann Karras
fe6fd2279c
WiiSaveBanner: fall back to $userdir/Load/WiiBanners
...
Unlike custom banners which work as an override, this mechanism works as
a fallback. The use case is if you have games you don't really play but
want to keep around for testing purposes without filling up your NAND
with lots of saves. For ease of use, the directory structure is the same
but only title/$title_hi/$title_lo/data/banner.bin files are
relevant.
2025-07-04 23:15:50 +01:00
Dr. Dystopia
ca8f9b672b
Source: Remove redundant lambda parameter lists
2025-06-14 10:19:31 +02:00
Jordan Woyak
65f3ba70f5
Merge pull request #13522 from tygyh/Enforce-overriding-destructor-style-Core&UnitTests
...
Core & UnitTests: Make overriding explicit and remove redundant virtual specifiers on overriding destructors
2025-06-07 17:55:14 -05:00
Dr. Dystopia
7b496b2f5b
DiscIO: Remove redundant casts
2025-06-04 21:57:45 +02:00
JMC47
8def02072b
Merge pull request #13379 from JoshuaVandaele/system-ng
...
Use minizip-ng in non-compatibility mode
2025-06-04 15:21:05 -04:00
JosJuice
66f181a621
Hide DirectoryBlob header.bin files from game list
...
This is a continuation of 552b6da . That commit hid sys/boot.bin, but not
disc/header.bin, which is only present for Wii games.
Fixes https://bugs.dolphin-emu.org/issues/13810 .
2025-05-25 20:37:52 +02:00
Joshua Vandaële
2ed5f16600
minizip-ng: Stop using compatibility mode
2025-05-22 12:51:55 +02:00
Dr. Dystopia
9dfcbcecff
DiscIO: Make functions constant
2025-05-16 19:11:39 +02:00
Jordan Woyak
921ffe153d
Merge pull request #13542 from tygyh/DiscIO-Pass-parameters-by-constant-reference
...
DiscIO: Pass parameters by constant reference
2025-05-07 15:50:11 -05:00
JMC47
757e6aba46
Merge pull request #13597 from JosJuice/hide-boot-bin
...
Hide DirectoryBlob boot.bin files from game list
2025-05-01 21:30:10 -04:00
Dr. Dystopia
f240e20e3f
Make overriding explicit and remove redundant virtual specifiers on overriding destructors - Core & UnitTests
2025-05-01 15:00:37 +02:00
JosJuice
552b6da9c4
Hide DirectoryBlob boot.bin files from game list
...
Extracted games contain a boot.bin file that contains the disc header.
These boot.bin files are considered valid volumes by Dolphin, since
Dolphin only checks the disc header to determine if something is a valid
GC/Wii disc. Running them doesn't make any sense, though.
boot.bin files used to not be scanned by Dolphin due to their file
extension, but .bin was added to the list of file extensions to scan for
in 494e2c0 . To stop them from showing up in the game list, let's update
the ShouldHideFromGameList mechanism.
2025-04-26 20:54:32 +02:00
Joshua Vandaële
2c54ee94c1
linter: Apply clang-format 19.1 formatting
...
find ./Source/ -name '*.cpp' -o -name '*.h' | xargs clang-format-19 -i
2025-04-23 11:19:20 +02:00
Jordan Woyak
31a3de819d
Merge pull request #13540 from tygyh/DiscIO-Remove-redundant-qualifiers
...
DiscIO: Remove redundant qualifiers
2025-04-22 20:00:03 -05:00
Dr. Dystopia
ecafd8058f
DiscIO: Remove redundant qualifiers
2025-04-22 13:54:10 +02:00
Zopolis4
8d94d25203
Implement Triforce ID parsing
2025-04-21 22:05:25 +10:00
Zopolis4
71f654cdc4
Add Triforce platform and preliminary boot.id parsing
2025-04-21 22:05:25 +10:00
Tilka
7e7b75c1e6
Merge pull request #13537 from tygyh/DiscIO-Make-variables-constexpr
...
DiscIO: Make variables constexpr
2025-04-21 00:52:18 +01:00
Tilka
9504916f72
Merge pull request #13538 from tygyh/DiscIO-Use-default-to-define-a-trivial-destructor
...
DiscIO: Use `= default` to define a trivial destructor
2025-04-20 22:32:12 +01:00
Tilka
45ed4b2be9
Merge pull request #13541 from tygyh/DiscIO-Remove-redundant-zero-initializers-in-aggregate-initializations
...
DiscIO: Remove redundant zero initializers in aggregate initializations
2025-04-20 22:07:58 +01:00
Dr. Dystopia
07ad189b4f
DiscIO: Pass parameters by constant reference
2025-04-20 08:26:09 +02:00
Dr. Dystopia
77b4270981
DiscIO: Remove redundant zero initializers in aggregate initializations
2025-04-19 22:04:50 +02:00
Dr. Dystopia
7123fcd19b
DiscIO: Use = default to define a trivial destructor
2025-04-19 17:43:18 +02:00
Dr. Dystopia
f6ba69f99a
DiscIO: Make variables constexpr
2025-04-19 17:17:02 +02:00
Dr. Dystopia
301cc5ee63
DiscIO: Make classes final
2025-04-19 09:05:22 +02:00
Dr. Dystopia
3bb925c1c7
DiscIO/Volume: Fix Partition struct comparison operators
2025-04-15 12:18:23 +02:00
JMC47
9819d66a47
Merge pull request #13221 from mitaclaw/nrvo-fails-1
...
GCC: Remedy NRVO Fails
2025-03-29 03:26:46 -04:00
mitaclaw
433c6ce0f2
GCC: Remedy NRVO Fails
...
Using the `-Wnrvo` flag introduced by GCC 14, I identified a few places where NRVO was clearly intended, but is fumbled.
2025-03-10 12:38:03 -07:00
mitaclaw
c9f589faa5
Modernize std::stable_sort with ranges and projections
2025-03-09 13:26:38 -07:00
mitaclaw
8b9f92a0af
Modernize std::sort with ranges and projections
...
In PPCTables.cpp, the code is currently unused so I was unable to test it.
In CustomPipeline.cpp, a pointer to member function cannot be used due to 16.4.5.2.1 of the C++ Standard regarding "addressable functions". https://eel.is/c++draft/namespace.std#6
In Fs.cpp and DirectoryBlob.cpp, these examples used projections in a previous iteration of this commit, but no longer do. Still, they remain in this commit because the PR they would actually belong to is already merged.
2025-03-09 13:26:38 -07:00
mitaclaw
62b2b939b5
Simplify std::find_if with std::ranges::find and projections
...
In LabelMap.cpp, the code is currently unused so I was unable to test it.
In WiiUtils.cpp, the magic value `1u` was replaced by the constant value `DiscIO::PARTITION_UPDATE`.
2025-03-09 13:26:35 -07:00
Joshua Vandaële
fa442dc90b
Fix build with minizip-ng 4.0.8
2025-01-19 10:30:41 +01:00
mitaclaw
527841f1df
Simplify std::search with Common::ContainsSubrange
2025-01-01 09:52:03 -08:00
mitaclaw
110d32729e
Simplify std::find with Common::Contains
...
In NandPaths.cpp, the `std::initializer_list<char>` of illegal characters has been turned into a `char[]` (similar to the one in GameList.cpp).
The reverse iteration in ResourcePack.cpp seemed to provide no benefits, and doing without it it seemed to have no ill effects.
2025-01-01 09:52:03 -08:00
JMC47
532a8621da
Merge pull request #13116 from mitaclaw/ranges-modernization-8-trivial-of
...
Ranges Algorithms Modernization - Of
2024-12-26 16:51:53 -05:00