summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_static.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* core: Make variable shadowing a compile-time errorLioncash2021-05-161-3/+3
| | | | | | Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
* vfs: Use existing type aliases consistentlyLioncash2020-12-101-1/+1
| | | | | Makes use of the VirtualDir and VirtualFile aliases across the board instead of having a few isolated places that don't use it.
* General: Make use of std::nullopt where applicableLioncash2020-09-221-3/+5
| | | | | | | | Allows some implementations to avoid completely zeroing out the internal buffer of the optional, and instead only set the validity byte within the structure. This also makes it consistent how we return empty optionals.
* global: Use std::optional instead of boost::optional (#1578)Frederic L2018-10-301-2/+2
| | | | | | | | | | | | | | | | * get rid of boost::optional * Remove optional references * Use std::reference_wrapper for optional references * Fix clang format * Fix clang format part 2 * Adressed feedback * Fix clang format and MacOS build
* vfs/etc: Append std:: to size_t usagesLioncash2018-09-261-8/+8
| | | | | Given we just recently had a patch backport this from citra, let's try and keep the convention uniform.
* vfs_static: Remove template byte parameter from StaticVfsFileLioncash2018-09-251-3/+4
| | | | | | | | | | This converts it into a regular constructor parameter. There's no need to make this a template parameter on the class when it functions perfectly well as a constructor argument. This also reduces the amount of code bloat produced by the compiler, as it doesn't need to generate the same code for multiple different instantiations of the same class type, but with a different fill value.
* fsmitm: Cleanup and modernize fsmitm portZach Hilman2018-09-241-1/+2
|
* vfs_static: Add StaticVfsFileZach Hilman2018-09-221-0/+77
Always returns the template argument byte for all reads. Doesn't support writes.