Merge pull request #2543 from jriwanek-forks/device-not-working

Remove unnecessary DEVICE_NOT_WORKING
This commit is contained in:
Miran Grča
2022-07-31 04:46:55 +02:00
committed by GitHub
3 changed files with 1 additions and 7 deletions

View File

@@ -337,11 +337,6 @@ device_available(const device_t *d)
int i = 0;
if (d != NULL) {
#ifdef RELEASE_BUILD
if (d->flags & DEVICE_NOT_WORKING)
return(0);
#endif
config = (device_config_t *) d->config;
if (config != NULL) {
while (config->type != -1) {

View File

@@ -54,7 +54,6 @@
#define CONFIG_BIOS 11
enum {
DEVICE_NOT_WORKING = 1, /* does not currently work correctly and will be disabled in a release build */
DEVICE_PCJR = 2, /* requires an IBM PCjr */
DEVICE_AT = 4, /* requires an AT-compatible system */
DEVICE_PS2 = 8, /* requires a PS/1 or PS/2 system */

View File

@@ -745,7 +745,7 @@ pas16_close(void *p)
const device_t pas16_device = {
.name = "Pro Audio Spectrum 16",
.internal_name = "pas16",
.flags = DEVICE_ISA | DEVICE_NOT_WORKING,
.flags = DEVICE_ISA,
.local = 0,
.init = pas16_init,
.close = pas16_close,