Deal with some magic numbers re hdc_current

This commit is contained in:
Jasmine Iwanek
2024-07-08 00:40:52 -04:00
parent 516dc589b7
commit 215b3253a5
8 changed files with 9 additions and 8 deletions

View File

@@ -353,7 +353,7 @@ ps1_setup(int model)
device_add(&fdc_at_ps1_device);
/* Enable the builtin HDC. */
if (hdc_current == 1) {
if (hdc_current == HDC_INTERNAL) {
priv = device_add(&ps1_hdc_device);
ps1_hdc_inform(priv, &ps->ps1_91);