summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.h
AgeCommit message (Collapse)Author
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-02-15Added Triforce supportcrediar
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-10-27AdvancedPane: Add a button to restore default settingsJoshua Vandaële
2025-09-24chore: remove unused Logs/Mail/ dirFarmerbilly27
2025-07-23BTReal: Implement Realtek Bluetooth firmware loading.Jordan Woyak
Logic and structures are largely taken from Linux source: drivers/bluetooth/btusb.c drivers/bluetooth/btrtl.c drivers/bluetooth/btrtl.h
2025-07-04WiiSaveBanner: fall back to $userdir/Load/WiiBannersTillmann Karras
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.
2024-07-04AchievementManager: Cache Badges on DiskLillyJadeKatrin
Badges are saved in /User/Cache/RetroAchievements on first download and reused from there instead of redownloaded.
2024-04-09JitCache: Software Profiling Restorationmitaclaw
Rekindle software JIT profiling with a std::chrono conversion and a config connection.
2024-02-27BranchWatchDialog: A Total Replacement for CodeDiffDialogmitaclaw
With a purpose-built Branch Watch feature built into the emulated system: BranchWatchDialog, replacing CodeDiffDialog, is now better than ever!
2023-12-16Merge pull request #11497 from vyuuui/debugger_assembler_uiTilka
Built-in assembler for debugger interface
2023-12-13Parser and Assembler implementationsvyuuui
2023-11-27Remove references to Debugger.iniJosJuice
This file was only used by DolphinWX. DolphinQt uses Qt.ini instead.
2023-06-11VideoBackends:Vulkan: Allow loading custom drivers on AndroidRobin Kertels
... using libadrenotools
2023-06-04Improved Skylanders Portal Window Navigationjnaidu360
Adds features to improve navigation of Skylanders portal menu, includes: -List of Skylanders and filters for searching -Improved buttons for faster loading options -Added default user folder for storing .sky files
2023-04-03Added Initial Achievement SettingsLillyJadeKatrin
Added AchievementSettings in Config with RA_INTEGRATION_ENABLED, RA_USERNAME, and RA_API_TOKEN. Includes code to load and store from Achievements.ini file in config folder.
2023-02-26Common/FileUtil: Remove obsolete CopyDir() function.Admiral H. Curtiss
2023-02-26Common/FileUtil: Add Move() function.Admiral H. Curtiss
2023-02-24Common/FileUtil: Add CreateDirs() function as a wrapper around ↵Admiral H. Curtiss
std::filesystem::create_directories().
2023-02-24Common/FileUtil: Add Copy() function as a wrapper around ↵Admiral H. Curtiss
std::filesystem::copy().
2023-02-22Common/FileUtil: Rename Copy() to CopyRegularFile().Admiral H. Curtiss
This is to clarify that it can only copy files, not folders.
2023-02-15Common/FileUtil: Revert behavior of CreateFullPath().Admiral H. Curtiss
This was accidentally changed in 7e6436db347c3cc479d768180de158a0f9c88226.
2023-01-24convert File::ScanDirectoryTree to std::filesystemShawn Hoffman
2023-01-24fileutil: use std::filesystemShawn Hoffman
2022-10-31FileUtil: Return success bool from CopyDirDentomologist
2022-07-11Config and UICommon: Add config option and user path for Wii SD card sync ↵Admiral H. Curtiss
folder.
2022-07-11Treewide: Rename references to SD Card image path to clarify they mean the ↵Admiral H. Curtiss
image file, not the folder.
2022-06-26Core: add GraphicsMod directoryiwubcode
2022-05-31FileUtil: Remove GetSysDirectory log spamDentomologist
Create and log path the first time GetSysDirectory is called, then just return the path on future calls.
2021-12-25Common/FileUtil: Ensure consistency for custom user paths.Admiral H. Curtiss
2021-10-24CommonPaths: Add a Riivolution subfolder in Load.Admiral H. Curtiss
2021-10-23Common/FileUtil: Fix incorrect (32-bit) stat struct being used on Windows, ↵Admiral H. Curtiss
which was hidden by a define in CommonFuncs.h.
2021-10-13Fix all uninitialized variable warnings (C26495)Pokechu22
2021-09-14Common/FileUtil: Strip trailing path separator in ScanDirectoryTree().Admiral H. Curtiss
2021-07-13Config: GBA settingsBonta
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2020-12-30Merge pull request #9318 from JosJuice/android-saf-gamesJosJuice
Android: Use storage access framework for game list
2020-12-24Core: Add new Free Look settings and configiwubcode
2020-12-20Android: Add content provider support to File::FileInfoJosJuice
2020-12-20Android: Add content provider support to File::OpenFStreamJosJuice
2020-12-05Add warning flags to File deletion functionsDentomologist
Adds a flag to File::Delete and File::DeleteDir functions to control whether a console warning is emitted when the file or directory doesn't exist. The flag is optional and true by default to match current behavior.
2020-10-03InputCommon: Introducing the "Dynamic Input Texture". Configuration links ↵iwubcode
an emulated input action to an image based on what host key is defined for that emulated input. Specific regions are called out in configuration that mark where to replace an input button with a host key image.
2019-11-09Merge pull request #8393 from CookiePLMonster/long-pathsLéo Lam
Support Windows 10 long paths
2019-10-27Rename all instances of "CemuhookUDPServer"/"UDPServer" to ↵rlnilsen
"DualShockUDPClient"/"DSUClient".
2019-10-26Add support for motion controllers via the CemuHook controller input protocol.rlnilsen
This is done by: 1) Implementing said protocol in a new controller input class CemuHookUDPServer. 2) Adding functionality in the WiimoteEmu class for pushing that motion input to the emulated Wiimote and MotionPlus. 3) Suitably modifying the UI for configuring an Emulated Wii Remote.
2019-10-07Remove MAX_PATH limit from:Silent
- GetTempFilenameForAtomicWrite - SetUserDirectory
2019-08-24VolumeVerifier: Add datfile parsingJosJuice
2019-05-29Common/FileUtil: Use std::string_view with WriteStringToFileLioncash
Allows writing out other forms of strings (e.g. C strings) without the need to allocate a std::string and discard it after use.
2019-05-29Common/FileUtil: Make WriteStringToFile consistent with ReadFileToStringLioncash
Makes the parameter ordering consistent and less error-prone.
2019-05-05Revert "Core: Remove MemoryWatcher"Vlad Firoiu
This reverts commit 0c02e77eee0a12b178b11676ca548aeb1cbb7116.