From 3e0d45e6601d9590a1953876cd372e777e1266b7 Mon Sep 17 00:00:00 2001 From: Yannick Mauray Date: Thu, 23 Sep 2021 19:40:45 +0200 Subject: [PATCH] Fixed : -full-screen option to qemu The option is -full-screen and not --full-screen, and should not be part of the -device option --- quickemu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickemu b/quickemu index 0803b6c..e777b24 100755 --- a/quickemu +++ b/quickemu @@ -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}"