Fixed disc_changed array overrun - fixes disc error in OS/2 v1.3.
This commit is contained in:
parent
9715794e08
commit
8056c314c5
1 changed files with 2 additions and 1 deletions
|
|
@ -978,7 +978,8 @@ void fdc_remove()
|
||||||
|
|
||||||
void fdc_discchange_clear(int drive)
|
void fdc_discchange_clear(int drive)
|
||||||
{
|
{
|
||||||
disc_changed[drive] = 0;
|
if (drive < 2)
|
||||||
|
disc_changed[drive] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void fdc_set_dskchg_activelow()
|
void fdc_set_dskchg_activelow()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue