Fix freeze on tools->settings
This commit is contained in:
@@ -82,8 +82,8 @@ SettingsSound::onCurrentMachineChanged(int machineId)
|
|||||||
selectedRow = 0;
|
selectedRow = 0;
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
/* Skip "internal" if machine doesn't have it for the first card, always skip for others. */
|
/* Skip "internal" if machine doesn't have it. */
|
||||||
if (((c == 1) && (machine_has_flags(machineId, MACHINE_SOUND) == 0)) || (i != 0)) {
|
if ((c == 1) && (machine_has_flags(machineId, MACHINE_SOUND) == 0)) {
|
||||||
c++;
|
c++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user