mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed an issue where MAME BIOSes and devices would sometimes not get filtered.
This commit is contained in:
parent
9c957ee93c
commit
74c7254c6a
|
@ -175,6 +175,8 @@ const bool MameNames::find(std::vector<std::string> devices, const std::string&
|
|||
size_t end = devices.size();
|
||||
|
||||
while (start < end) {
|
||||
if (!strcmp(devices[start].c_str(), name.c_str()))
|
||||
return true;
|
||||
const size_t index = (start + end) / 2;
|
||||
const int compare = strcmp(devices[index].c_str(), name.c_str());
|
||||
|
||||
|
|
Loading…
Reference in a new issue