Let's default VGA to colour, okay?

This commit is contained in:
Angelo Salese 2011-12-06 14:34:36 +00:00
parent 89d52a2c9d
commit 6171bf96a6
5 changed files with 17 additions and 6 deletions

View File

@ -671,11 +671,13 @@ static MACHINE_CONFIG_START( calchase, calchase_state )
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
MACHINE_CONFIG_END
static READ8_HANDLER( vga_setting ) { return 0xff; } // hard-code to color
static const struct pc_vga_interface vga_interface =
{
NULL,
NULL,
NULL,
vga_setting,
AS_IO,
0x0000
};

View File

@ -180,11 +180,13 @@ static void magtouch_set_keyb_int(running_machine &machine, int state)
pic8259_ir1_w(machine.device("pic8259_1"), state);
}
static READ8_HANDLER( vga_setting ) { return 0xff; } // hard-code to color
static const struct pc_vga_interface vga_interface =
{
NULL,
NULL,
NULL,
vga_setting,
AS_IO,
0x0000
};

View File

@ -162,10 +162,13 @@ static void pangofun_set_keyb_int(running_machine &machine, int state)
pic8259_ir1_w(machine.device("pic8259_1"), state);
}
static const struct pc_vga_interface vga_interface ={
NULL,
static READ8_HANDLER( vga_setting ) { return 0xff; } // hard-code to color
static const struct pc_vga_interface vga_interface =
{
NULL,
NULL,
vga_setting,
AS_IO,
0x0000
};

View File

@ -107,11 +107,13 @@ static void pcat_dyn_set_keyb_int(running_machine &machine, int state)
pic8259_ir1_w(machine.device("pic8259_1"), state);
}
static READ8_HANDLER( vga_setting ) { return 0xff; } // hard-code to color
static const struct pc_vga_interface vga_interface =
{
NULL,
NULL,
NULL,
vga_setting,
AS_IO,
0x0000
};

View File

@ -213,11 +213,13 @@ static void streetg2_set_keyb_int(running_machine &machine, int state)
pic8259_ir1_w(machine.device("pic8259_1"), state);
}
static READ8_HANDLER( vga_setting ) { return 0xff; } // hard-code to color
static const struct pc_vga_interface vga_interface =
{
NULL,
NULL,
NULL,
vga_setting,
AS_IO,
0x0000
};