Fix VGA VRAM allocation

This commit is contained in:
Martin Wimpress 2021-09-28 17:38:06 +01:00
parent 232bddeed6
commit 494d3ca22a
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3

View file

@ -384,7 +384,7 @@ function vm_boot() {
fi fi
# Allocate VRAM to VGA devices # Allocate VRAM to VGA devices
if [[ "${DISPLAY_DEVICE}" == *"vga"* ]] || [[ "${DISPLAY_DEVICE}" == *"VGA"* ]]; then if [ "${DISPLAY_DEVICE}" == "qxl-vga" ] || [ "${DISPLAY_DEVICE}" == "VGA" ]; then
VIDEO="${VIDEO},vgamem_mb=128" VIDEO="${VIDEO},vgamem_mb=128"
fi fi
VIDEO="${VIDEO} ${FULLSCREEN}" VIDEO="${VIDEO} ${FULLSCREEN}"