VirtualBox

Changeset 7891 in vbox


Ignore:
Timestamp:
Apr 10, 2008 7:20:38 PM (17 years ago)
Author:
vboxsync
Message:

immediately abort if F12 was pressed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/logo.c

    r7888 r7891  
    358358        {
    359359            outw(LOGO_IO_PORT, LOGO_CMD_SHOW_BMP | i);
    360             wait(16 / WAIT_MS, 0);
     360            scode = wait(16 / WAIT_MS, 0);
     361            if (scode == F12_SCAN_CODE)
     362            {
     363                f12_pressed = 1;
     364                break;
     365            }
    361366        }
    362367    }
     
    380385            scode = wait(16 / WAIT_MS, 0);
    381386            if (scode == F12_SCAN_CODE)
     387            {
    382388                f12_pressed = 1;
     389                break;
     390            }
    383391        }
    384392    }
     
    527535    wait_uninit();
    528536}
    529 
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