bugfix graphics controller win

This commit is contained in:
Sebastian Hildebrandt 2017-11-09 13:28:34 +01:00
parent 12153fd9f0
commit 2801402c0e
2 changed files with 2 additions and 1 deletions

View File

@ -99,6 +99,7 @@ Other changes
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 3.33.4 | 2017-11-09 | bugfix graphics controller win (bytes) |
| 3.33.3 | 2017-11-08 | bugfix cpu speed arm - type |
| 3.33.2 | 2017-11-08 | bugfix cpu speed arm |
| 3.33.1 | 2017-11-07 | improved bios and main board information |

View File

@ -365,7 +365,7 @@ function graphics(callback) {
model: util.getValue(lines, 'name', '='),
vendor: util.getValue(lines, 'AdapterCompatibility', '='),
bus: util.getValue(lines, 'PNPDeviceID', '=').startsWith('PCI') ? 'PCI' : '',
vram: util.getValue(lines, 'AdapterRAM', '='),
vram: parseInt(util.getValue(lines, 'AdapterRAM', '='), 10) / 1024 / 1024,
vramDynamic: (util.getValue(lines, 'VideoMemoryType', '=') === '2')
});
_resolutionx = toInt(util.getValue(lines, 'CurrentHorizontalResolution', '='));