floppy: Fix failed media sense return code

An error in floppy_media_sense() returned error code 0xc0.  However,
this appears to be a typo when porting the original bochs bios code,
as it uses 0x0c.  It appears this typo was introduced in the first
SeaBIOS commit (f076a3ee).

Change the code to return 0x0c (DISK_RET_EBADTRACK) on an error.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2 files changed
tree: a357083410f427b440c1b22d8b7dab9e06117dc8
  1. docs/
  2. scripts/
  3. src/
  4. vgasrc/
  5. .gitignore
  6. COPYING
  7. COPYING.LESSER
  8. Makefile
  9. README