VirtualBox

Ignore:
Timestamp:
Nov 25, 2019 8:39:28 PM (5 years ago)
Author:
vboxsync
Message:

VGABIOS: This is very silly. Stop it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/BIOS/vgabios.c

    r82196 r82197  
    645645 else
    646646  {
    647    address = page * (*(uint16_t *)&video_param_table[line_to_vpti[line]].slength_l);
     647   address = page * video_param_table[line_to_vpti[line]].slength;
    648648  }
    649649
     
    848848 write_byte(BIOSMEM_SEG,BIOSMEM_CURRENT_MODE,mode);
    849849 write_word(BIOSMEM_SEG,BIOSMEM_NB_COLS,twidth);
    850  write_word(BIOSMEM_SEG,BIOSMEM_PAGE_SIZE,*(uint16_t *)&video_param_table[vpti].slength_l);
     850 write_word(BIOSMEM_SEG,BIOSMEM_PAGE_SIZE,video_param_table[vpti].slength);
    851851 write_word(BIOSMEM_SEG,BIOSMEM_CRTC_ADDRESS,crtc_addr);
    852852 write_byte(BIOSMEM_SEG,BIOSMEM_NB_ROWS,theightm1);
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