summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_concat.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-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.
2021-11-04core: Remove unused includesameerj1-1/+0
2021-05-16core: Make variable shadowing a compile-time errorLioncash1-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.
2021-05-02file_sys: Resolve cases of variable shadowingLioncash1-1/+1
Brings us closer to enabling -Wshadow as an error in the core code.
2020-12-10vfs: Use existing type aliases consistentlyLioncash1-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.
2020-07-12fs: Fix RomFS building when zero byte files are presentMorph1-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.
2018-09-26vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFileLioncash1-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.
2018-09-25vfs_static: Remove template byte parameter from StaticVfsFileLioncash1-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.
2018-09-24fsmitm: Cleanup and modernize fsmitm portZach Hilman1-29/+29
2018-09-22vfs_concat: Rewrite and fix ConcatenatedVfsFileZach Hilman1-1/+33
2018-09-20file-sys: Default heavy-weight class destructors in the cpp fileLioncash1-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.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-4/+4
2018-08-12file_sys: Comply to style guidelinesZach Hilman1-3/+3
2018-08-12vfs: Add ConcatenatedVfsFileZach Hilman1-0/+41