NVR fixes.

This commit is contained in:
OBattler
2022-10-25 02:24:54 +02:00
parent 6c6e18b225
commit 411f780571

View File

@@ -1201,29 +1201,31 @@ const device_t piix4_nvr_device = {
}; };
const device_t ps_no_nmi_nvr_device = { const device_t ps_no_nmi_nvr_device = {
"PS/1 or PS/2 NVRAM (No NMI)", .name = "PS/1 or PS/2 NVRAM (No NMI)",
"ps1_nvr", .internal_name = "ps1_nvr",
DEVICE_PS2, .flags = DEVICE_PS2,
10, .local = 0x10 | 2,
nvr_at_init, .init = nvr_at_init,
nvr_at_close, .close = nvr_at_close,
nvr_at_reset, .reset = nvr_at_reset,
{ NULL }, { .available = NULL },
nvr_at_speed_changed, .speed_changed = nvr_at_speed_changed,
NULL .force_redraw = NULL,
.config = NULL
}; };
const device_t amstrad_no_nmi_nvr_device = { const device_t amstrad_no_nmi_nvr_device = {
"Amstrad NVRAM (No NMI)", .name = "Amstrad NVRAM (No NMI)",
"amstrad_nvr", .internal_name = "amstrad_nvr",
DEVICE_ISA | DEVICE_AT, .flags = DEVICE_ISA | DEVICE_AT,
11, .local = 0x10 | 3,
nvr_at_init, .init = nvr_at_init,
nvr_at_close, .close = nvr_at_close,
nvr_at_reset, .reset = nvr_at_reset,
{ NULL }, { .available = NULL },
nvr_at_speed_changed, .speed_changed = nvr_at_speed_changed,
NULL .force_redraw = NULL,
.config = NULL
}; };
const device_t ami_1992_nvr_device = { const device_t ami_1992_nvr_device = {