Merge pull request #2543 from jriwanek-forks/device-not-working
Remove unnecessary DEVICE_NOT_WORKING
This commit is contained in:
@@ -337,11 +337,6 @@ device_available(const device_t *d)
|
|||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
if (d != NULL) {
|
if (d != NULL) {
|
||||||
#ifdef RELEASE_BUILD
|
|
||||||
if (d->flags & DEVICE_NOT_WORKING)
|
|
||||||
return(0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
config = (device_config_t *) d->config;
|
config = (device_config_t *) d->config;
|
||||||
if (config != NULL) {
|
if (config != NULL) {
|
||||||
while (config->type != -1) {
|
while (config->type != -1) {
|
||||||
|
@@ -54,7 +54,6 @@
|
|||||||
#define CONFIG_BIOS 11
|
#define CONFIG_BIOS 11
|
||||||
|
|
||||||
enum {
|
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_PCJR = 2, /* requires an IBM PCjr */
|
||||||
DEVICE_AT = 4, /* requires an AT-compatible system */
|
DEVICE_AT = 4, /* requires an AT-compatible system */
|
||||||
DEVICE_PS2 = 8, /* requires a PS/1 or PS/2 system */
|
DEVICE_PS2 = 8, /* requires a PS/1 or PS/2 system */
|
||||||
|
@@ -745,7 +745,7 @@ pas16_close(void *p)
|
|||||||
const device_t pas16_device = {
|
const device_t pas16_device = {
|
||||||
.name = "Pro Audio Spectrum 16",
|
.name = "Pro Audio Spectrum 16",
|
||||||
.internal_name = "pas16",
|
.internal_name = "pas16",
|
||||||
.flags = DEVICE_ISA | DEVICE_NOT_WORKING,
|
.flags = DEVICE_ISA,
|
||||||
.local = 0,
|
.local = 0,
|
||||||
.init = pas16_init,
|
.init = pas16_init,
|
||||||
.close = pas16_close,
|
.close = pas16_close,
|
||||||
|
Reference in New Issue
Block a user