mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Zip Installation: Show the failed filename in the message
This commit is contained in:
parent
091535744b
commit
1eb1a69096
@ -540,7 +540,7 @@ bool GameManager::ExtractFile(struct zip *z, int file_index, const Path &outFile
|
||||
return true;
|
||||
} else {
|
||||
auto iz = GetI18NCategory(I18NCat::INSTALLZIP);
|
||||
g_OSD.Show(OSDType::MESSAGE_ERROR, iz->T("Installation failed"));
|
||||
g_OSD.Show(OSDType::MESSAGE_ERROR, iz->T("Installation failed"), outFilename.ToVisualString());
|
||||
ERROR_LOG(Log::HLE, "Failed to open file for writing: %s", outFilename.c_str());
|
||||
return false;
|
||||
}
|
||||
@ -601,6 +601,8 @@ bool GameManager::InstallMemstickGame(struct zip *z, const Path &zipfile, const
|
||||
g_OSD.SetProgressBar("install", di->T("Installing..."), 0.0f, info.numFiles, (i + 1) * 0.1f, 0.1f);
|
||||
}
|
||||
|
||||
INFO_LOG(Log::HLE, "Created %d directories", (int)createdDirs.size());
|
||||
|
||||
// Now, loop through again in a second pass, writing files.
|
||||
std::vector<Path> createdFiles;
|
||||
for (int i = 0; i < info.numFiles; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user