mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
Patch: Fix bug causing the UI to show the wrong place value
This commit is contained in:
parent
d30a7fb991
commit
5c123f3183
@ -553,7 +553,7 @@ void Patch::ExtractPatchInfo(std::vector<PatchInfo>* dst, const std::string& pna
|
|||||||
(*num_unlabelled_patches)++;
|
(*num_unlabelled_patches)++;
|
||||||
|
|
||||||
// Try to extract the place value of the patch lines so we can
|
// Try to extract the place value of the patch lines so we can
|
||||||
// display them in the GUI if they all match. TODO: Don't duplicate
|
// display it in the GUI if they all match. TODO: Don't duplicate
|
||||||
// all this parsing logic twice.
|
// all this parsing logic twice.
|
||||||
if (unknown_place)
|
if (unknown_place)
|
||||||
continue;
|
continue;
|
||||||
@ -571,6 +571,7 @@ void Patch::ExtractPatchInfo(std::vector<PatchInfo>* dst, const std::string& pna
|
|||||||
// place values.
|
// place values.
|
||||||
current_patch.place = std::nullopt;
|
current_patch.place = std::nullopt;
|
||||||
unknown_place = true;
|
unknown_place = true;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
current_patch.place = place;
|
current_patch.place = place;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user