mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 12:39:13 +12:00
[Kernel] Implement File::OpenLinkFile
This commit is contained in:
parent
2e11cef55c
commit
5966c02737
3 changed files with 33 additions and 1 deletions
|
@ -95,6 +95,10 @@ struct FileSession {
|
|||
|
||||
FileSession(ArchiveBase* archive, const FSPath& filePath, const FSPath& archivePath, FILE* fd, bool isOpen = true) :
|
||||
archive(archive), path(filePath), archivePath(archivePath), fd(fd), isOpen(isOpen) {}
|
||||
|
||||
// For cloning a file session
|
||||
FileSession(const FileSession& other) : archive(other.archive), path(other.path),
|
||||
archivePath(other.archivePath), fd(other.fd), isOpen(other.isOpen) {}
|
||||
};
|
||||
|
||||
struct ArchiveSession {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue