From b620a429011484a87cdd2e03a127ca6a289bc766 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 10 Aug 2016 01:21:03 +0200 Subject: [PATCH] Fixed an undeclared variable error. --- src/ide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ide.c b/src/ide.c index c60b4b2cb..c20923377 100644 --- a/src/ide.c +++ b/src/ide.c @@ -921,7 +921,7 @@ void resetide(void) if (ide_drives[d].type == IDE_HDD) { ide_drives[d].dma_identify_data[0] = 7; - ide_drives[d].dma_identify_data[1] = 7 | (1 << (val + 8)); + ide_drives[d].dma_identify_data[1] = 7 | (1 << 15); ide_drives[d].dma_identify_data[2] = 0x3f; } else if (ide_drives[d].type == IDE_CDROM)