diff options
-rw-r--r-- | core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc index 72036111..4dff1bc6 100644 --- a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc +++ b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc @@ -272,7 +272,7 @@ setup_graphics() { | sed -r 's/^[^=]+//;s/^(\s|=|")*//;s/(\s|")+$//' ) existing="$vram" if [ -z "$vram" ]; then # Nothing, default to half of max - vram="$(( vram / 2 ))" + vram="$(( max_vram / 2 ))" elif (( vram > max_vram )); then # Explicitly set, cap if too excessive vram="$max_vram" fi |