From acf66baaad8ab5e07938998206aebe4331307ddc Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Sat, 30 Jul 2022 21:12:01 -0400 Subject: [PATCH] Remove unnecessary DEVICE_NOT_WORKING --- src/device.c | 5 ----- src/include/86box/device.h | 1 - src/sound/snd_pas16.c | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/device.c b/src/device.c index 1a4b1ca13..c69acaad0 100644 --- a/src/device.c +++ b/src/device.c @@ -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) { diff --git a/src/include/86box/device.h b/src/include/86box/device.h index 25cf5c3f2..948c4b03b 100644 --- a/src/include/86box/device.h +++ b/src/include/86box/device.h @@ -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 */ diff --git a/src/sound/snd_pas16.c b/src/sound/snd_pas16.c index 1662598c9..0dd35c049 100644 --- a/src/sound/snd_pas16.c +++ b/src/sound/snd_pas16.c @@ -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,