VirtualBox

Changeset 37647 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jun 27, 2011 12:17:04 PM (13 years ago)
Author:
vboxsync
Message:

VGA: Return sensible EGA switch value in case guest reads it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r37636 r37647  
    714714        if (s->fRealRetrace)
    715715            vga_update_retrace_state(s);
     716        s->st00 = (s->st00 & ~0x10) | (0x90 >> ((val >> 2) & 0x3));
    716717        break;
    717718    case 0x3c4:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette