mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:47:35 +00:00
Kernel: Fixed FDC motor_enable()
Motor Enable now selects the correct drive. The ternary operations were backwards. QEMU doesn't care (obviously) but on a real PC, the drive doesn't actually ever get selected...
This commit is contained in:
parent
5d8aadaf38
commit
1112899a63
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ u8 FloppyDiskDevice::read_msr() const
|
|||
|
||||
void FloppyDiskDevice::motor_enable(bool slave) const
|
||||
{
|
||||
u8 val = slave ? 0x1C : 0x2D;
|
||||
u8 val = slave ? 0x2D : 0x1C;
|
||||
write_dor(val);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue