summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FatFsUtil.cpp
AgeCommit message (Collapse)Author
2026-04-20Replace `find(x) != npos` with `contains(x)` - CoreDr. Dystopia
2026-04-17Improve usage of std::move and const references parametersMartino Fontana
Accomplished using `run-clang-tidy` with `performance-move-const-arg,performance-unnecessary-value-param,modernize-pass-by-value`. Changed arguments to const references, removed them where inappropriate (e.g. sink parameters). Same with std::move. Manually reviewed each change to make sure that it makes sense, and do something more appropriate if possible.
2026-01-25Remove unused importsMartino Fontana
Yellow squiggly lines begone! Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes. If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed. The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports. Not everything is removed, but the cleanup should be substantial enough. Because this done on Linux, code that isn't used on it is mostly untouched. (Hopefully no open PR is depending on these imports...)
2025-06-04fmt: Replace deprecated `fmt::localtime` usage with `Common::LocalTime`Joshua Vandaële
2025-03-23Merge pull request #13093 from mitaclaw/ranges-modernization-4-projectionJMC47
Ranges Algorithms Modernization - Projection
2025-03-15Merge pull request #13181 from tygyh/Replace-'reinterpret_cast'JosJuice
Replace 'reinterpret_cast' with 'static_cast'
2025-03-09Modernize `std::sort` with ranges and projectionsmitaclaw
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.
2024-12-15Modernize `std::all_of` with rangesmitaclaw
In DITSpecification.cpp, MaterialAsset.cpp, and ShaderAsset.cpp, lambda predicates were replaced by pointers to member functions because ranges algorithms are able invoke those. In NetPlayClient.cpp, the non-trivial `NetPlay::Player` elements were being passed by value in `NetPlayClient::DoAllPlayersHaveGame()`. This has been fixed. In WIABlob.cpp, the second example's predicate was returning the `std::optional` by value instead of implicitly converting it to a bool. This has been fixed.
2024-11-08Replace 'reinterpret_cast' with 'static_cast'Dr. Dystopia
2024-06-04FatFsUtil: Generate a non-partitioned image in our folder-to-sdcard conversion.Jordan Woyak
2023-04-18Config: Add setting for SD card file size when converting.Admiral H. Curtiss
2023-02-28Common/FatFsUtil: Close temp file before deleting it on conversion failure.Admiral H. Curtiss
2023-02-28Common/FatFsUtil: Add callback for cancelling SD card conversion.Admiral H. Curtiss
2023-02-15Fix uninitialized variable warnings (C26495)Pokechu22
2023-02-09Resolve various "no previous declaration" warningsPokechu22
2022-10-16Zero-initialize structures passed to FatFs functions.Admiral H. Curtiss
2022-09-29FatFsUtil: Add ability to provide callbacks for the FatFs code.Admiral H. Curtiss
2022-07-11FatFsUtil: Skip past entries with invalid filenames.Admiral H. Curtiss
2022-07-11FatFsUtil: Improve error handling and error reporting.Admiral H. Curtiss
2022-07-11FatFsUtil: Add some path traversal attack protection when unpacking.Admiral H. Curtiss
2022-07-11Core: In deterministic mode, build SD cards with a consistent filename order ↵Admiral H. Curtiss
and dummy timestamps.
2022-07-11Core: If configured, sync SD card image with SD card folder on emulation ↵Admiral H. Curtiss
start and end. Co-authored-by: Pablo Stebler <pablo@stebler.xyz>
2022-07-11Externals/FatFs: Build as part of Dolphin.Admiral H. Curtiss
Co-authored-by: Pablo Stebler <pablo@stebler.xyz>