RiivolutionPatcher: Handle the possibility of the FST already containing a main.dol file.

This commit is contained in:
Admiral H. Curtiss
2021-10-22 03:14:51 +02:00
parent ba3373b476
commit 22c6f2fe3b
2 changed files with 15 additions and 6 deletions

View File

@ -99,6 +99,7 @@ struct FSTBuilderNode
std::string m_filename;
u64 m_size;
std::variant<std::vector<BuilderContentSource>, std::vector<FSTBuilderNode>> m_content;
void* m_user_data = nullptr;
bool IsFile() const
{