mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[0.4.13][FREELDR] Workaround regression CORE-16469
This prevents ReactOS asserting when 'My computer'
is opened, while it tries to send commands to floppy drive.
Many thanks to patches author Doug Lyons.
The regression was introduced by 0.4.13-dev-1081-g
eeff926ede
patch was not committed to master yet,
hbelusca continues investigation
This commit is contained in:
parent
3a1c14f9ba
commit
777aff5b36
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ BOOLEAN PcDiskReadLogicalSectors(UCHAR DriveNumber, ULONGLONG SectorNumber, ULON
|
|||
#if defined(__i386__) || defined(_M_AMD64)
|
||||
VOID __cdecl DiskStopFloppyMotor(VOID)
|
||||
{
|
||||
WRITE_PORT_UCHAR((PUCHAR)0x3F2, 0x0C); // DOR_FDC_ENABLE | DOR_DMA_IO_INTERFACE_ENABLE
|
||||
WRITE_PORT_UCHAR((PUCHAR)0x3F2, 0); // DOR_FDC_ENABLE | DOR_DMA_IO_INTERFACE_ENABLE 0x0C
|
||||
}
|
||||
#endif // defined __i386__ || defined(_M_AMD64)
|
||||
|
||||
|
|
Loading…
Reference in a new issue