mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
Let's default VGA to colour, okay?
This commit is contained in:
parent
89d52a2c9d
commit
6171bf96a6
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user