mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
SVN r4336
Correct an oversight of r4186 when floppy disks are mounted.
This commit is contained in:
@@ -132,7 +132,8 @@ void incrementFDD(void) {
|
||||
equipment&=~0x00C0;
|
||||
equipment|=(numofdisks<<6);
|
||||
} else equipment|=1;
|
||||
mem_writew(BIOS_CONFIGURATION,equipment);
|
||||
mem_writew(BIOS_CONFIGURATION,equipment);
|
||||
if(IS_EGAVGA_ARCH) equipment &= ~0x30; //EGA/VGA startup display mode differs in CMOS
|
||||
CMOS_SetRegister(0x14, (uint8_t)(equipment&0xff));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user