Added the GC113 used by the real TriGem 286M, and fixed that EMS driver on GC113 onwards, closes #2567.
This commit is contained in:
@@ -67,15 +67,17 @@ machine_at_mr286_init(const machine_t *model)
|
||||
}
|
||||
|
||||
static void
|
||||
machine_at_headland_common_init(int ht386)
|
||||
machine_at_headland_common_init(int type)
|
||||
{
|
||||
device_add(&keyboard_at_ami_device);
|
||||
|
||||
if (fdc_type == FDC_INTERNAL)
|
||||
device_add(&fdc_at_device);
|
||||
|
||||
if (ht386)
|
||||
if (type == 2)
|
||||
device_add(&headland_ht18b_device);
|
||||
else if (type == 1)
|
||||
device_add(&headland_gc113_device);
|
||||
else
|
||||
device_add(&headland_gc10x_device);
|
||||
}
|
||||
@@ -93,7 +95,7 @@ machine_at_tg286m_init(const machine_t *model)
|
||||
|
||||
machine_at_common_ide_init(model);
|
||||
|
||||
machine_at_headland_common_init(0);
|
||||
machine_at_headland_common_init(1);
|
||||
|
||||
return ret;
|
||||
}
|
||||
@@ -114,7 +116,7 @@ machine_at_ama932j_init(const machine_t *model)
|
||||
if (gfxcard == VID_INTERNAL)
|
||||
device_add(&oti067_ama932j_device);
|
||||
|
||||
machine_at_headland_common_init(1);
|
||||
machine_at_headland_common_init(2);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user