src/machine

This commit is contained in:
Jasmine Iwanek
2022-04-02 18:14:24 -04:00
parent f51c8a5595
commit e11bad1938
8 changed files with 20 additions and 28 deletions

View File

@@ -669,7 +669,6 @@ vid_speed_change_1512(void *priv)
recalc_timings_1512(vid);
}
device_config_t vid_1512_config[] = {
{
.name = "display_type",
@@ -720,7 +719,7 @@ device_config_t vid_1512_config[] = {
{ .description = "" }
}
},
{ .name = "", .description = "", .type = -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
static const device_t vid_1512_device = {
@@ -903,7 +902,7 @@ device_config_t vid_1640_config[] = {
{ .description = "" }
}
},
{ .name = "", .description = "", .type = -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
static const device_t vid_1640_device = {
@@ -1788,7 +1787,7 @@ device_config_t vid_200_config[] = {
{ .description = "" }
}
},
{ .name = "", .description = "", .type = -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
static const device_t vid_200_device = {
@@ -1892,7 +1891,7 @@ device_config_t vid_ppc512_config[] = {
.default_string = "",
.default_int = 0
},
{ .name = "", .description = "", .type = -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
static const device_t vid_ppc512_device = {
@@ -1930,7 +1929,7 @@ device_config_t vid_pc2086_config[] = {
{ .description = "" }
}
},
{ "", "", -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
static const device_t vid_pc2086_device = {
@@ -1968,7 +1967,7 @@ device_config_t vid_pc3086_config[] = {
{ .description = "" }
}
},
{ .name = "", .description = "", .type = -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
static const device_t vid_pc3086_device = {

View File

@@ -716,7 +716,7 @@ const device_config_t compaq_plasma_config[] = {
{ .description = "" }
}
},
{ .name = "", .description = "", .type = -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
static const device_t compaq_plasma_device = {

View File

@@ -678,10 +678,10 @@ static const device_config_t europc_config[] = {
.selection = {
{ .description = "Disabled (250h)", .value = 0 },
{ .description = "Enabled (350h)", .value = 1 },
{ "" }
{ .description = "" }
},
},
{ .name = "", .description = "", .type = -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
const device_t europc_device = {

View File

@@ -784,7 +784,7 @@ static const device_config_t pcjr_config[] = {
{ .description = "" }
}
},
{ .name = "", .description = "", .type = -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
static const device_t pcjr_device = {

View File

@@ -1157,7 +1157,7 @@ static const device_config_t vid_config[] = {
{ .description = "" }
}
},
{ .name = "", .description = "", .type = -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
static const device_t vid_device = {

View File

@@ -586,7 +586,6 @@ m19_vid_init(m19_vid_t *vid)
device_context_restore();
}
const device_t m24_kbd_device = {
.name = "Olivetti M24 keyboard and mouse",
.internal_name = "m24_kbd",
@@ -616,7 +615,7 @@ const device_config_t m19_vid_config[] = {
{ .description = "Green Monochrome", .value = 1 },
{ .description = "Amber Monochrome", .value = 2 },
{ .description = "Gray Monochrome", .value = 3 },
{ .description = "" }
{ .description = "" }
}
},
{
@@ -626,7 +625,7 @@ const device_config_t m19_vid_config[] = {
.default_string = "",
.default_int = 1,
},
{ .name = "", .description = "", .type = -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
const device_t m19_vid_device = {

View File

@@ -745,16 +745,9 @@ static const device_config_t t1000_config[] = {
.name = "display_language",
.description = "Language",
.type = CONFIG_SELECTION,
.selection =
{
{
.description = "USA",
.value = 0
},
{
.description = "Danish",
.value = 1
}
.selection = {
{ .description = "USA", .value = 0 },
{ .description = "Danish", .value = 1 }
},
.default_int = 0
},
@@ -763,7 +756,8 @@ static const device_config_t t1000_config[] = {
.description = "Enable backlight",
.type = CONFIG_BINARY,
.default_string = "",
.default_int = 1 },
.default_int = 1
},
{
.name = "invert",
.description = "Invert colors",
@@ -771,7 +765,7 @@ static const device_config_t t1000_config[] = {
.default_string = "",
.default_int = 0
},
{ .type = -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
const device_t t1000_video_device = {

View File

@@ -160,7 +160,7 @@ static const device_config_t xi8088_config[] = {
.type = CONFIG_BINARY,
.default_int = 0
},
{ .type = -1 }
{ .name = "", .description = "", .type = CONFIG_END }
};
const device_t xi8088_device = {