mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Set userland firmware SPRX directory as the default PS3 decryption tool path
This commit is contained in:
parent
9c7230e79f
commit
a1d31f640a
1 changed files with 8 additions and 1 deletions
|
@ -1192,7 +1192,14 @@ extern void sysutil_send_system_cmd(u64 status, u64 param);
|
|||
|
||||
void main_window::DecryptSPRXLibraries()
|
||||
{
|
||||
const QString path_last_sprx = m_gui_settings->GetValue(gui::fd_decrypt_sprx).toString();
|
||||
QString path_last_sprx = m_gui_settings->GetValue(gui::fd_decrypt_sprx).toString();
|
||||
|
||||
if (!fs::is_dir(sstr(path_last_sprx)))
|
||||
{
|
||||
// Default: redirect to userland firmware SPRX directory
|
||||
path_last_sprx = qstr(g_cfg.vfs.get_dev_flash() + "sys/external");
|
||||
}
|
||||
|
||||
const QStringList modules = QFileDialog::getOpenFileNames(this, tr("Select binary files"), path_last_sprx, tr("All Binaries (*.BIN *.self *.sprx);;BIN files (*.BIN);;SELF files (*.self);;SPRX files (*.sprx);;All files (*.*)"));
|
||||
|
||||
if (modules.isEmpty())
|
||||
|
|
Loading…
Add table
Reference in a new issue