Skip to content

Commit 331cedc

Browse files
authored
Add 2MB variant of Matrox Productiva G100
1 parent bfceed6 commit 331cedc

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

‎src/video/vid_mga.c‎

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7046,6 +7046,29 @@ static const device_config_t millennium_ii_config[] = {
70467046
// clang-format on
70477047
};
70487048

7049+
static const device_config_t g100_config[] = {
7050+
// clang-format off
7051+
{
7052+
.name = "memory",
7053+
.description = "Memory size",
7054+
.type = CONFIG_SELECTION,
7055+
.default_string = NULL,
7056+
.default_int = 8,
7057+
.file_filter = NULL,
7058+
.spinner = { 0 },
7059+
.selection = {
7060+
{ .description = "2 MB", .value = 2 },
7061+
{ .description = "4 MB", .value = 4 },
7062+
{ .description = "8 MB", .value = 8 },
7063+
{ .description = "16 MB", .value = 16 },
7064+
{ .description = "" }
7065+
},
7066+
.bios = { { 0 } }
7067+
},
7068+
{ .name = "", .description = "", .type = CONFIG_END }
7069+
// clang-format on
7070+
};
7071+
70497072
const device_t millennium_device = {
70507073
.name = "Matrox Millennium",
70517074
.internal_name = "millennium",
@@ -7128,6 +7151,6 @@ const device_t productiva_g100_device = {
71287151
.available = matrox_g100_available,
71297152
.speed_changed = mystique_speed_changed,
71307153
.force_redraw = mystique_force_redraw,
7131-
.config = millennium_ii_config
7154+
.config = g100_config
71327155
};
71337156
#endif

0 commit comments

Comments
 (0)