Skip to content

Commit

Permalink
fix videoRam default value
Browse files Browse the repository at this point in the history
  • Loading branch information
leolleeooleo committed Sep 30, 2021
1 parent d47f29f commit 07f30f6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2498,7 +2498,7 @@ protected VideoDef createVideoDef(VirtualMachineTO vmTO) {
}
if (details.containsKey(VideoDef.VIDEO_RAM)) {
String value = details.get(VideoDef.VIDEO_RAM);
videoRam = NumbersUtil.parseInt(value, 0);
videoRam = NumbersUtil.parseInt(value, videoRam);
}
}
return new VideoDef(videoHw, videoRam);
Expand Down

0 comments on commit 07f30f6

Please sign in to comment.