[Emulator] Added option for content installation

This commit is contained in:
Gliniak
2022-07-30 12:41:26 +02:00
parent 7595cdb52b
commit 433a8a8a5e
5 changed files with 126 additions and 0 deletions

View File

@@ -81,6 +81,9 @@ class StfsContainerDevice : public Device {
return files_total_size_ - sizeof(StfsHeader);
}
uint32_t title_id() const { return header_.metadata.execution_info.title_id; }
XContentType content_type() const { return header_.metadata.content_type; }
private:
const uint32_t kBlocksPerHashLevel[3] = {170, 28900, 4913000};
const uint32_t kEndOfChain = 0xFFFFFF;