Fixed : -full-screen option to qemu

The option is -full-screen and not --full-screen, and should not be part of the -device option
This commit is contained in:
Yannick Mauray 2021-09-23 19:40:45 +02:00 committed by Martin Wimpress
parent e83de9baf3
commit 3e0d45e660

View File

@ -347,9 +347,9 @@ function vm_boot() {
fi
if [ "${DISPLAY_DEVICE}" == "qxl-vga" ] || [ "${DISPLAY_DEVICE}" == "VGA" ]; then
VIDEO="-device ${DISPLAY_DEVICE},vgamem_mb=128,xres=${X_RES},yres=${Y_RES},${FULLSCREEN}"
VIDEO="-device ${DISPLAY_DEVICE},vgamem_mb=128,xres=${X_RES},yres=${Y_RES} ${FULLSCREEN}"
else
VIDEO="-device ${DISPLAY_DEVICE},xres=${X_RES},yres=${Y_RES},${FULLSCREEN}"
VIDEO="-device ${DISPLAY_DEVICE},xres=${X_RES},yres=${Y_RES} ${FULLSCREEN}"
fi
echo " - Video: ${DISPLAY_DEVICE}"
@ -601,7 +601,7 @@ else
STATUS_QUO="-snapshot"
shift;;
-fullscreen|--fullscreen)
FULLSCREEN="--full-screen"
FULLSCREEN="-full-screen"
shift;;
-vm|--vm)
VM="${2}"