memLayout() improved parsing memory bank (windows)
This commit is contained in:
parent
356bb7a505
commit
acbaac389e
@ -544,7 +544,7 @@ function memLayout(callback) {
|
||||
if (size) {
|
||||
result.push({
|
||||
size,
|
||||
bank: util.getValue(lines, 'BankLabel', ':') + tagInt[1] ? ' / ' + tagInt[1] : '', // BankLabel
|
||||
bank: util.getValue(lines, 'BankLabel', ':') + (tagInt[1] ? '/' + tagInt[1] : ''), // BankLabel
|
||||
type: memoryTypes[parseInt(util.getValue(lines, 'MemoryType', ':'), 10) || parseInt(util.getValue(lines, 'SMBIOSMemoryType', ':'), 10)],
|
||||
ecc: dataWidth && totalWidth ? totalWidth > dataWidth : false,
|
||||
clockSpeed: parseInt(util.getValue(lines, 'ConfiguredClockSpeed', ':'), 10) || parseInt(util.getValue(lines, 'Speed', ':'), 10) || 0,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user