Commit 2210d221 authored by Supernature2k's avatar Supernature2k Committed by OyyoDams

filter out non recalbox games from netplay

parent cb6863ce
......@@ -122,6 +122,10 @@ bool GuiNetPlay::parseLobby()
{
continue;
}
if (!(std::regex_search(array_element.second.get<std::string>("fields.frontend"), std::regex("@RECALBOX"))))
{
continue;
}
FileData* tmp = nullptr;
if (array_element.second.get<std::string>("fields.game_crc") != "00000000") {
tmp = findGame(array_element.second.get<std::string>("fields.game_crc"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment