summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_concat.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: Remove unused includesameerj2021-11-041-1/+0
|
* core: Make variable shadowing a compile-time errorLioncash2021-05-161-2/+2
| | | | | | 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.
* file_sys: Resolve cases of variable shadowingLioncash2021-05-021-1/+1
| | | | Brings us closer to enabling -Wshadow as an error in the core code.
* 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.
* fs: Fix RomFS building when zero byte files are presentMorph2020-07-121-3/+3
| | | | | | When zero byte files are present, the key (offset) for that file is identical to the file right after. A std::map isn't able to fit key-value pairs with identical keys (offsets), therefore, the solution is to use std::multimap which permits multiple entries with the same key. This most prominently fixes Pokemon Sword and Shield weather with any RomFS mod applied.
* vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFileLioncash2018-09-261-11/+8
| | | | | | Given these are only added to the class to allow those functions to access the private constructor, it's a better approach to just make them static functions in the interface, to make the dependency explicit.
* vfs_static: Remove template byte parameter from StaticVfsFileLioncash2018-09-251-29/+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-29/+29
|
* vfs_concat: Rewrite and fix ConcatenatedVfsFileZach Hilman2018-09-221-1/+33
|
* file-sys: Default heavy-weight class destructors in the cpp fileLioncash2018-09-201-0/+2
| | | | | | | | | | Several classes have a lot of non-trivial members within them, or don't but likely should have the destructor defaulted in the cpp file for future-proofing/being more friendly to forward declarations. Leaving the destructor unspecified allows the compiler to inline the destruction code all over the place, which is generally undesirable from a code bloat perspective.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-4/+4
|
* file_sys: Comply to style guidelinesZach Hilman2018-08-121-3/+3
|
* vfs: Add ConcatenatedVfsFileZach Hilman2018-08-121-0/+41