mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
[FS] Fix file path oopsie
This commit is contained in:
parent
f68ddebf90
commit
4e04e58fbe
3 changed files with 56 additions and 14 deletions
|
@ -52,7 +52,7 @@ struct FSPath {
|
|||
|
||||
FSPath() {}
|
||||
|
||||
FSPath(u32 type, std::vector<u8> vec) : type(type) {
|
||||
FSPath(u32 type, const std::vector<u8>& vec) : type(type) {
|
||||
switch (type) {
|
||||
case PathType::Binary:
|
||||
binary = std::move(vec);
|
||||
|
@ -90,7 +90,7 @@ struct FileSession {
|
|||
bool isOpen;
|
||||
|
||||
FileSession(ArchiveBase* archive, const FSPath& filePath, FILE* fd, bool isOpen = true) :
|
||||
archive(archive), path(path), fd(fd), isOpen(isOpen) {}
|
||||
archive(archive), path(filePath), fd(fd), isOpen(isOpen) {}
|
||||
};
|
||||
|
||||
struct ArchiveSession {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue