fix
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
3bce277eb5
commit
f8f3443e6d
2 changed files with 6 additions and 6 deletions
|
@ -373,13 +373,13 @@ bool ConfigureProfileManager::LoadAvatarData() {
|
|||
const auto romfs = nca->GetRomFS();
|
||||
if (!romfs) {
|
||||
QMessageBox::warning(this, tr("Error loading archive"),
|
||||
tr("Archive does not contain romfs. It's probably corrupt."));
|
||||
tr("Could not locate RomFS. Your file or decryption keys may be corrupted."));
|
||||
return false;
|
||||
}
|
||||
const auto extracted = FileSys::ExtractRomFS(romfs);
|
||||
if (!extracted) {
|
||||
QMessageBox::warning(this, tr("Error extracting archive"),
|
||||
tr("Archive could not be extracted. It's probably corrupt."));
|
||||
tr("Could not extract RomFS. Your file or decryption keys may be corrupted."));
|
||||
return false;
|
||||
}
|
||||
const auto chara_dir = extracted->GetSubdirectory("chara");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue