Cleaned up IBM/ATI 8514/A code (June 9th, 2025)
Replaced the magic numbers with actual enumerators for ease of understanding.
This commit is contained in:
@@ -7409,7 +7409,7 @@ const device_t mach8_vga_isa_device = {
|
||||
.name = "ATI Mach8 (ATI Graphics Ultra) (ISA)",
|
||||
.internal_name = "mach8_vga_isa",
|
||||
.flags = DEVICE_ISA,
|
||||
.local = 1,
|
||||
.local = ATI_38800_TYPE,
|
||||
.init = mach8_init,
|
||||
.close = mach_close,
|
||||
.reset = mach_reset,
|
||||
@@ -7423,7 +7423,7 @@ const device_t mach32_isa_device = {
|
||||
.name = "ATI Mach32 (ISA)",
|
||||
.internal_name = "mach32_isa",
|
||||
.flags = DEVICE_ISA,
|
||||
.local = 2,
|
||||
.local = ATI_68800_TYPE,
|
||||
.init = mach8_init,
|
||||
.close = mach_close,
|
||||
.reset = mach_reset,
|
||||
@@ -7437,7 +7437,7 @@ const device_t mach32_vlb_device = {
|
||||
.name = "ATI Mach32 (VLB)",
|
||||
.internal_name = "mach32_vlb",
|
||||
.flags = DEVICE_VLB,
|
||||
.local = 2,
|
||||
.local = ATI_68800_TYPE,
|
||||
.init = mach8_init,
|
||||
.close = mach_close,
|
||||
.reset = mach_reset,
|
||||
@@ -7451,7 +7451,7 @@ const device_t mach32_mca_device = {
|
||||
.name = "ATI Mach32 (MCA)",
|
||||
.internal_name = "mach32_mca",
|
||||
.flags = DEVICE_MCA,
|
||||
.local = 2,
|
||||
.local = ATI_68800_TYPE,
|
||||
.init = mach8_init,
|
||||
.close = mach_close,
|
||||
.reset = mach_reset,
|
||||
@@ -7465,7 +7465,7 @@ const device_t mach32_pci_device = {
|
||||
.name = "ATI Mach32 (PCI)",
|
||||
.internal_name = "mach32_pci",
|
||||
.flags = DEVICE_PCI,
|
||||
.local = 2,
|
||||
.local = ATI_68800_TYPE,
|
||||
.init = mach8_init,
|
||||
.close = mach_close,
|
||||
.reset = mach_reset,
|
||||
@@ -7479,7 +7479,7 @@ const device_t mach32_onboard_pci_device = {
|
||||
.name = "ATI Mach32 (PCI) On-Board",
|
||||
.internal_name = "mach32_pci_onboard",
|
||||
.flags = DEVICE_PCI,
|
||||
.local = 2 | 0x100,
|
||||
.local = ATI_68800_TYPE | 0x100,
|
||||
.init = mach8_init,
|
||||
.close = mach_close,
|
||||
.reset = mach_reset,
|
||||
|
||||
Reference in New Issue
Block a user