Various improvements & Cleanups
Some ported from ANightly's work
This commit is contained in:
@@ -548,17 +548,20 @@ et3000_available(void)
|
||||
}
|
||||
|
||||
static const device_config_t et3000_config[] = {
|
||||
{ .name = "memory",
|
||||
.description = "Memory size",
|
||||
.type = CONFIG_SELECTION,
|
||||
.default_int = 512,
|
||||
.selection = {
|
||||
{ .description = "256 KB",
|
||||
.value = 256 },
|
||||
{ .description = "512 KB",
|
||||
.value = 512 },
|
||||
{ .description = "" } } },
|
||||
// clang-format off
|
||||
{
|
||||
.name = "memory",
|
||||
.description = "Memory size",
|
||||
.type = CONFIG_SELECTION,
|
||||
.default_int = 512,
|
||||
.selection = {
|
||||
{ .description = "256 KB", .value = 256 },
|
||||
{ .description = "512 KB", .value = 512 },
|
||||
{ .description = "" }
|
||||
}
|
||||
},
|
||||
{ .type = CONFIG_END }
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
const device_t et3000_isa_device = {
|
||||
|
||||
@@ -972,7 +972,7 @@ static const device_config_t et4000_tc6058af_config[] = {
|
||||
.default_string = "v1_10",
|
||||
.default_int = 0,
|
||||
.file_filter = "",
|
||||
.spinner = { 0 }, /*W1*/
|
||||
.spinner = { 0 },
|
||||
.bios = {
|
||||
{ .name = "Version 1.10", .internal_name = "v1_10", .bios_type = BIOS_NORMAL,
|
||||
.files_no = 1, .local = 0, .size = 32768, .files = { TC6058AF_BIOS_ROM_PATH, "" } },
|
||||
@@ -1019,7 +1019,7 @@ static const device_config_t et4000_bios_config[] = {
|
||||
.default_string = "v8_01",
|
||||
.default_int = 0,
|
||||
.file_filter = "",
|
||||
.spinner = { 0 }, /*W1*/
|
||||
.spinner = { 0 },
|
||||
.bios = {
|
||||
{ .name = "Version 8.01", .internal_name = "v8_01", .bios_type = BIOS_NORMAL,
|
||||
.files_no = 1, .local = 0, .size = 32768, .files = { BIOS_ROM_PATH, "" } },
|
||||
|
||||
@@ -1701,52 +1701,37 @@ ht216_force_redraw(void *priv)
|
||||
ht216->svga.fullchange = changeframecount;
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
static const device_config_t v7_vga_1024i_config[] = {
|
||||
{ .name = "memory",
|
||||
.description = "Memory size",
|
||||
.type = CONFIG_SELECTION,
|
||||
.default_int = 512,
|
||||
.selection = {
|
||||
{ .description = "256 KB",
|
||||
.value = 256 },
|
||||
{ .description = "512 KB",
|
||||
.value = 512 },
|
||||
{ .description = "" } } },
|
||||
{
|
||||
.name = "memory",
|
||||
.description = "Memory size",
|
||||
.type = CONFIG_SELECTION,
|
||||
.default_int = 512,
|
||||
.selection = {
|
||||
{ .description = "256 KB", .value = 256 },
|
||||
{ .description = "512 KB", .value = 512 },
|
||||
{ .description = "" }
|
||||
}
|
||||
},
|
||||
{ .type = CONFIG_END }
|
||||
};
|
||||
|
||||
// clang-format off
|
||||
static const device_config_t ht216_32_standalone_config[] = {
|
||||
{
|
||||
.name = "monitor_type",
|
||||
.name = "monitor_type",
|
||||
.description = "Monitor type",
|
||||
.type = CONFIG_SELECTION,
|
||||
.type = CONFIG_SELECTION,
|
||||
.default_int = 0x18,
|
||||
.selection = {
|
||||
{
|
||||
.description = "Mono Interlaced",
|
||||
.value = 0x00
|
||||
},
|
||||
{
|
||||
.description = "Mono Non-Interlaced",
|
||||
.value = 0x08
|
||||
},
|
||||
{
|
||||
.description = "Color Interlaced",
|
||||
.value = 0x10
|
||||
},
|
||||
{
|
||||
.description = "Color Non-Interlaced",
|
||||
.value = 0x18
|
||||
},
|
||||
{
|
||||
.description = ""
|
||||
}
|
||||
.selection = {
|
||||
{ .description = "Mono Interlaced", .value = 0x00 },
|
||||
{ .description = "Mono Non-Interlaced", .value = 0x08 },
|
||||
{ .description = "Color Interlaced", .value = 0x10 },
|
||||
{ .description = "Color Non-Interlaced", .value = 0x18 },
|
||||
{ .description = "" }
|
||||
}
|
||||
},
|
||||
{
|
||||
.type = CONFIG_END
|
||||
}
|
||||
{ .type = CONFIG_END }
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
|
||||
@@ -6851,8 +6851,7 @@ static const device_config_t mystique_config[] = {
|
||||
.name = "memory",
|
||||
.description = "Memory size",
|
||||
.type = CONFIG_SELECTION,
|
||||
.selection =
|
||||
{
|
||||
.selection = {
|
||||
{
|
||||
.description = "2 MB",
|
||||
.value = 2
|
||||
@@ -6865,15 +6864,11 @@ static const device_config_t mystique_config[] = {
|
||||
.description = "8 MB",
|
||||
.value = 8
|
||||
},
|
||||
{
|
||||
.description = ""
|
||||
}
|
||||
{ .description = "" }
|
||||
},
|
||||
.default_int = 8
|
||||
},
|
||||
{
|
||||
.type = CONFIG_END
|
||||
}
|
||||
{ .type = CONFIG_END }
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
@@ -6883,8 +6878,7 @@ static const device_config_t millennium_ii_config[] = {
|
||||
.name = "memory",
|
||||
.description = "Memory size",
|
||||
.type = CONFIG_SELECTION,
|
||||
.selection =
|
||||
{
|
||||
.selection = {
|
||||
{
|
||||
.description = "4 MB",
|
||||
.value = 4
|
||||
@@ -6897,15 +6891,11 @@ static const device_config_t millennium_ii_config[] = {
|
||||
.description = "16 MB",
|
||||
.value = 16
|
||||
},
|
||||
{
|
||||
.description = ""
|
||||
}
|
||||
{ .description = "" }
|
||||
},
|
||||
.default_int = 8
|
||||
},
|
||||
{
|
||||
.type = CONFIG_END
|
||||
}
|
||||
{ .type = CONFIG_END }
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user