Changeset 82197 in vbox for trunk/src/VBox/Devices/Graphics/BIOS/vgabios.c
- Timestamp:
- Nov 25, 2019 8:39:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/BIOS/vgabios.c
r82196 r82197 645 645 else 646 646 { 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; 648 648 } 649 649 … … 848 848 write_byte(BIOSMEM_SEG,BIOSMEM_CURRENT_MODE,mode); 849 849 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); 851 851 write_word(BIOSMEM_SEG,BIOSMEM_CRTC_ADDRESS,crtc_addr); 852 852 write_byte(BIOSMEM_SEG,BIOSMEM_NB_ROWS,theightm1);
Note:
See TracChangeset
for help on using the changeset viewer.