PIIX4(E): Use the correct NVR variant when using the (not yet implemented) MSI MS-5156.

This commit is contained in:
OBattler
2026-01-16 11:43:31 +01:00
parent fb1f37c83b
commit 5f498ffd86

View File

@@ -1580,7 +1580,10 @@ piix_init(const device_t *info)
dev->usb = device_add(&usb_device);
if (dev->type > 3) {
dev->nvr = device_add(&piix4_nvr_device);
if (!strcmp(machine_get_internal_name(), "ms5156"))
dev->nvr = device_add(&piix4_nvr_device);
else
dev->nvr = device_add(&piix4_ami_1995_nvr_device);
dev->smbus = device_add(&piix4_smbus_device);
dev->acpi = device_add(&acpi_intel_device);