mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
patch manager: properly check patch versions
Also abort patch import of lower patch versions
This commit is contained in:
parent
d3c6472c0f
commit
bf978ac8ca
5 changed files with 80 additions and 23 deletions
|
|
@ -424,7 +424,9 @@ void patch_manager_dialog::dropEvent(QDropEvent* event)
|
|||
{
|
||||
static const std::string imported_patch_yml_path = fs::get_config_dir() + "patches/imported_patch.yml";
|
||||
|
||||
if (patch_engine::import_patches(patches, imported_patch_yml_path))
|
||||
log_message.clear();
|
||||
|
||||
if (patch_engine::import_patches(patches, imported_patch_yml_path, &log_message))
|
||||
{
|
||||
refresh();
|
||||
QMessageBox::information(this, tr("Import successful"), tr("The patch file was imported to:\n%0").arg(QString::fromStdString(imported_patch_yml_path)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue