mirror of
https://github.com/86Box/86Box.git
synced 2026-02-28 09:54:21 -07:00
Onboard video memory config overhaul part 3: ATi Mach32 and Trident
This commit is contained in:
@@ -7744,6 +7744,40 @@ static const device_config_t mach32_pci_config[] = {
|
||||
},
|
||||
{ .name = "", .description = "", .type = CONFIG_END }
|
||||
};
|
||||
|
||||
static const device_config_t mach32_pci_onboard_config[] = {
|
||||
{
|
||||
.name = "ramdac",
|
||||
.description = "RAMDAC type",
|
||||
.type = CONFIG_SELECTION,
|
||||
.default_string = NULL,
|
||||
.default_int = ATI_68860,
|
||||
.file_filter = NULL,
|
||||
.spinner = { 0 },
|
||||
.selection = {
|
||||
{ .description = "ATI 68860", .value = ATI_68860 },
|
||||
{ .description = "ATI 68875", .value = ATI_68875 },
|
||||
{ .description = "" }
|
||||
},
|
||||
.bios = { { 0 } }
|
||||
},
|
||||
{
|
||||
.name = "memory",
|
||||
.description = "Memory size",
|
||||
.type = CONFIG_SELECTION,
|
||||
.default_string = NULL,
|
||||
.default_int = 2048,
|
||||
.file_filter = NULL,
|
||||
.spinner = { 0 },
|
||||
.selection = {
|
||||
{ .description = "1 MB", .value = 1024 },
|
||||
{ .description = "2 MB", .value = 2048 },
|
||||
{ .description = "" }
|
||||
},
|
||||
.bios = { { 0 } }
|
||||
},
|
||||
{ .name = "", .description = "", .type = CONFIG_END }
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
const device_t mach8_vga_isa_device = {
|
||||
@@ -7827,5 +7861,5 @@ const device_t mach32_onboard_pci_device = {
|
||||
.available = NULL,
|
||||
.speed_changed = mach_speed_changed,
|
||||
.force_redraw = mach_force_redraw,
|
||||
.config = mach32_pci_config
|
||||
.config = mach32_pci_onboard_config
|
||||
};
|
||||
|
||||
@@ -4294,7 +4294,7 @@ const device_t tgui9660_onboard_pci_device = {
|
||||
.available = NULL,
|
||||
.speed_changed = tgui_speed_changed,
|
||||
.force_redraw = tgui_force_redraw,
|
||||
.config = tgui96xx_config
|
||||
.config = tgui9440_config
|
||||
};
|
||||
|
||||
const device_t tgui9680_pci_device = {
|
||||
|
||||
Reference in New Issue
Block a user