Fixed some compile-breaking mistakes.

This commit is contained in:
OBattler
2022-11-09 04:37:44 +01:00
parent f807bb2ccc
commit cd6a43165a
2 changed files with 4 additions and 1 deletions

View File

@@ -28,6 +28,9 @@
* least 7 devices, with each device being \
* able to support 8 units, but hey... */
#define HDC_NONE 0
#define HDC_INTERNAL 1
extern int hdc_current;
extern const device_t st506_xt_xebec_device; /* st506_xt_xebec */

View File

@@ -1189,7 +1189,7 @@ machine_xt_m240_init(const machine_t *model)
mm58274_init(nvr, model->nvrmask + 1);
if (hdc_type == HDC_INTERNAL)
if (hdc_current == HDC_INTERNAL)
device_add(&st506_xt_wd1002a_wx1_nobios_device);
return ret;