diff options
-rw-r--r-- | endpoints/lib/vboxconnector.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/endpoints/lib/vboxconnector.php b/endpoints/lib/vboxconnector.php index d2626c8..c60487f 100644 --- a/endpoints/lib/vboxconnector.php +++ b/endpoints/lib/vboxconnector.php @@ -1914,8 +1914,8 @@ class vboxconnector { if(@$this->settings->enableCustomIcons) $m->setExtraData('phpvb/icon', $args['customIcon']); - $m->VRAMSize = $args['VRAMSize']; - $m->graphicsControllerType = $args['graphicsControllerType']; + $m->GraphicsAdapter->VRAMSize = $args['VRAMSize']; + $m->GraphicsAdapter->graphicsControllerType = $args['graphicsControllerType']; // Video $m->GraphicsAdapter->accelerate3DEnabled = $args['accelerate3DEnabled']; @@ -3855,8 +3855,8 @@ class vboxconnector { $this->session->machine->firmwareType = (string)$defaults->recommendedFirmware; $this->session->machine->chipsetType = (string)$defaults->recommendedChipset; $this->session->machine->ClipboardMode = 'Disabled'; - if(intval($defaults->recommendedVRAM) > 0) $this->session->machine->VRAMSize = intval($defaults->recommendedVRAM); - $this->session->machine->setGraphicsControllerType((string)$defaults->recommendedGraphicsController); + if(intval($defaults->recommendedVRAM) > 0) $this->session->machine->GraphicsAdapter->setVRAMSize(intval($defaults->recommendedVRAM)); + $this->session->machine->GraphicsAdapter->setGraphicsControllerType((string)$defaults->recommendedGraphicsController); $this->session->machine->setCpuProperty('PAE',$defaults->recommendedPAE); // USB input devices @@ -4224,8 +4224,8 @@ class vboxconnector { 'CPUCount' => $m->CPUCount, 'HPETEnabled' => $m->HPETEnabled, 'memorySize' => $m->memorySize, - 'VRAMSize' => $m->VRAMSize, - 'graphicsControllerType' => (string)$m->graphicsControllerType, + 'VRAMSize' => $m->GraphicsAdapter->VRAMSize, + 'graphicsControllerType' => (string)$m->GraphicsAdapter->graphicsControllerType, 'pointingHIDType' => (string)$m->pointingHIDType, 'keyboardHIDType' => (string)$m->keyboardHIDType, 'accelerate3DEnabled' => $m->GraphicsAdapter->accelerate3DEnabled, |