Fix firmware installation for vfs

This commit is contained in:
Megamouse 2018-01-24 20:04:35 +01:00 committed by Ivan
parent 9138d537c8
commit 6141bc5598
5 changed files with 14 additions and 16 deletions

View file

@ -495,7 +495,7 @@ void main_window::InstallPup(const QString& dropPath)
}
tar_object dev_flash_tar(dev_flash_tar_f[2]);
if (!dev_flash_tar.extract(fs::get_config_dir()))
if (!dev_flash_tar.extract(Emu.GetEmuDir()))
{
LOG_ERROR(GENERAL, "Error while installing firmware: TAR contents are invalid.");
QMessageBox::critical(this, tr("Failure!"), tr("Error while installing firmware: TAR contents are invalid."));