summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/bis_factory.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270)Morph2021-05-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * common: fs: fs_types: Create filesystem types Contains various filesystem types used by the Common::FS library * common: fs: fs_util: Add std::string to std::u8string conversion utility * common: fs: path_util: Add utlity functions for paths Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library * common: fs: file: Rewrite the IOFile implementation * common: fs: Reimplement Common::FS library using std::filesystem * common: fs: fs_paths: Add fs_paths to replace common_paths * common: fs: path_util: Add the rest of the path functions * common: Remove the previous Common::FS implementation * general: Remove unused fs includes * string_util: Remove unused function and include * nvidia_flags: Migrate to the new Common::FS library * settings: Migrate to the new Common::FS library * logging: backend: Migrate to the new Common::FS library * core: Migrate to the new Common::FS library * perf_stats: Migrate to the new Common::FS library * reporter: Migrate to the new Common::FS library * telemetry_session: Migrate to the new Common::FS library * key_manager: Migrate to the new Common::FS library * bis_factory: Migrate to the new Common::FS library * registered_cache: Migrate to the new Common::FS library * xts_archive: Migrate to the new Common::FS library * service: acc: Migrate to the new Common::FS library * applets/profile: Migrate to the new Common::FS library * applets/web: Migrate to the new Common::FS library * service: filesystem: Migrate to the new Common::FS library * loader: Migrate to the new Common::FS library * gl_shader_disk_cache: Migrate to the new Common::FS library * nsight_aftermath_tracker: Migrate to the new Common::FS library * vulkan_library: Migrate to the new Common::FS library * configure_debug: Migrate to the new Common::FS library * game_list_worker: Migrate to the new Common::FS library * config: Migrate to the new Common::FS library * configure_filesystem: Migrate to the new Common::FS library * configure_per_game_addons: Migrate to the new Common::FS library * configure_profile_manager: Migrate to the new Common::FS library * configure_ui: Migrate to the new Common::FS library * input_profiles: Migrate to the new Common::FS library * yuzu_cmd: config: Migrate to the new Common::FS library * yuzu_cmd: Migrate to the new Common::FS library * vfs_real: Migrate to the new Common::FS library * vfs: Migrate to the new Common::FS library * vfs_libzip: Migrate to the new Common::FS library * service: bcat: Migrate to the new Common::FS library * yuzu: main: Migrate to the new Common::FS library * vfs_real: Delete the contents of an existing file in CreateFile Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now. * input_profiles: Don't iterate the input profile dir if it does not exist Silences an error produced in the log if the directory does not exist. * game_list_worker: Skip parsing file if the returned VfsFile is nullptr Prevents crashes in GetLoader when the virtual file is nullptr * common: fs: Validate paths for path length * service: filesystem: Open the mod load directory as read only
* file_sys/bis_factory: Eliminate usage of the global system accessorLioncash2020-09-171-5/+5
|
* file_sys: Replace inclusions with forward declarations where applicableLioncash2020-08-231-1/+0
| | | | Same behavior, minus unnecessary inclusions where not necessary.
* common/fileutil: Convert namespace to Common::FSLioncash2020-08-161-1/+1
| | | | | | | | | | | | Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing.
* bis_factory: Set User NAND free space to be 1 MiB less than total.Morph2020-07-101-1/+3
|
* bis_factory: Use hardware default NAND partition sizesMorph2020-07-101-10/+11
| | | | | | Sets the total space of user and system partitions to their hardware defaults. Furthermore, return the total space as free space for the user partition to prevent it from reaching zero. Some games like Bioshock 2 check for the available free space prior to save creation, and we should not be limited by arbitrary limits.
* key_manager: Correct casing of instance()Lioncash2020-07-011-1/+1
| | | | Our codebase uppercases member function names.
* crypto: Make KeyManager a singleton classFearlessTobi2020-05-201-1/+1
| | | | | | Previously, we were reading the keys everytime a KeyManager object was created, causing yuzu to reread the keys file multiple hundreds of times when loading the game list. With this change, it is only loaded once. On my system, this decreased game list loading times by a factor of 20.
* filesystem: Add getter for BCAT temporary directoryZach Hilman2019-09-301-0/+5
|
* bis_factory: Add getters for NAND partition sizesZach Hilman2019-09-211-0/+32
|
* bis_factory: Fix mod loader edge-case with homebrew title IDsZach Hilman2019-09-211-1/+1
| | | Fixes a bug where homebrew that has a title ID with the update bit set can cause issues with the PatchManager
* bis_factory: Add accessors for BIS placeholder cachesZach Hilman2019-09-211-1/+13
|
* bis_factory: Add accessor for NAND Image DirectoryZach Hilman2019-09-211-0/+4
|
* bis_factory: Add accessors for BIS content directoriesZach Hilman2019-09-211-0/+8
|
* bis_factory: Add accessors for BIS partitionsZach Hilman2019-09-211-0/+41
|
* bis_factory: Add getter for mod dump root for a title IDZach Hilman2018-10-291-1/+8
| | | | Equates to yuzu_dir/dump/<title id>/
* file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicableLioncash2018-10-161-6/+6
| | | | | | | | | | | | | | | The data retrieved in these cases are ultimately chiefly owned by either the RegisteredCache instance itself, or the filesystem factories. Both these should live throughout the use of their contained data. If they don't, it should be considered an interface/design issue, and using shared_ptr instances here would mask that, as the data would always be prolonged after the main owner's lifetime ended. This makes the lifetime of the data explicit and makes it harder to accidentally create cyclic references. It also makes the interface slightly more flexible than the previous API, as a shared_ptr can be created from a unique_ptr, but not the other way around, so this allows for that use-case if it ever becomes necessary in some form.
* fsmitm: Cleanup and modernize fsmitm portZach Hilman2018-09-241-1/+1
|
* bis_factory: Add mod directory VFS getterZach Hilman2018-09-221-2/+10
|
* file_sys: Replace includes with forward declarations where applicableLioncash2018-09-041-0/+3
| | | | | Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
* vfs: Add GetOrCreateDirectoryRelative methodZach Hilman2018-08-231-9/+2
|
* bis_factory: Create NAND dirs if they don't existZach Hilman2018-08-121-2/+9
|
* bis_factory: Add partial implementation of BISFactoryZach Hilman2018-08-121-0/+24
Creates and stores RegisteredCaches for user and system NAND, as creation of a RegisteredCache is expensive.