Devices can now be marked as not working, and disabled in release builds.

Video card menu now build dynamically from list.
This commit is contained in:
TomW 2013-11-28 20:03:59 +00:00
commit 657aa19dd1
39 changed files with 183 additions and 133 deletions

View file

@ -42,6 +42,18 @@ void device_close_all()
}
}
int device_available(device_t *d)
{
#ifdef RELEASE_BUILD
if (d->flags & DEVICE_NOT_WORKING)
return 0;
#endif
if (d->available)
return d->available();
return 1;
}
void device_speed_changed()
{
int c;