mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 14:07:46 +00:00
core: loader: Implement support for loading indexed programs.
This commit is contained in:
parent
5f53d285aa
commit
9f8d7748d9
12 changed files with 74 additions and 26 deletions
|
@ -27,7 +27,7 @@ enum class ContentRecordType : u8;
|
|||
|
||||
class NSP : public ReadOnlyVfsDirectory {
|
||||
public:
|
||||
explicit NSP(VirtualFile file);
|
||||
explicit NSP(VirtualFile file, std::size_t program_index = 0);
|
||||
~NSP() override;
|
||||
|
||||
Loader::ResultStatus GetStatus() const;
|
||||
|
@ -69,6 +69,8 @@ private:
|
|||
|
||||
VirtualFile file;
|
||||
|
||||
const std::size_t program_index;
|
||||
|
||||
bool extracted = false;
|
||||
Loader::ResultStatus status;
|
||||
std::map<u64, Loader::ResultStatus> program_status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue