mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 05:34:27 +00:00
AD: Fix infinite loop in cleanupPirated.
svn-id: r52386
This commit is contained in:
parent
15e50a64b8
commit
4135dc7a7c
@ -220,6 +220,8 @@ bool cleanupPirated(ADGameDescList &matched) {
|
||||
for (uint j = 0; j < matched.size();) {
|
||||
if (matched[j]->flags & ADGF_PIRATED)
|
||||
matched.remove_at(j);
|
||||
else
|
||||
++j;
|
||||
}
|
||||
|
||||
// We ruled out all variants and now have nothing
|
||||
|
Loading…
x
Reference in New Issue
Block a user