mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Don't scrape systems without a platform ID set by default.
This commit is contained in:
parent
4d38d41c97
commit
abb568aa6e
|
@ -31,11 +31,11 @@ GuiScraperStart::GuiScraperStart(Window* window) : GuiComponent(window),
|
|||
mList.setEntry(Vector2i(0, 0), Vector2i(1, 1), &mFilterLabel, false, ComponentListComponent::AlignRight);
|
||||
mList.setEntry(Vector2i(1, 0), Vector2i(1, 1), &mFiltersOpt, true, ComponentListComponent::AlignLeft);
|
||||
|
||||
//add systems (with all selected)
|
||||
//add systems (all with a platformid specified selected)
|
||||
std::vector<SystemData*> sys = SystemData::sSystemVector;
|
||||
mSystemsOpt.populate(sys,
|
||||
[&](SystemData* s) {
|
||||
return mSystemsOpt.makeEntry(s->getName(), s, true);
|
||||
return mSystemsOpt.makeEntry(s->getName(), s, s->getPlatformId() != PlatformIds::PLATFORM_UNKNOWN);
|
||||
});
|
||||
|
||||
mList.setEntry(Vector2i(0, 1), Vector2i(1, 1), &mSystemsLabel, false, ComponentListComponent::AlignRight);
|
||||
|
|
Loading…
Reference in a new issue