Fixed the Amstrad colors, closes #1517.
This commit is contained in:
@@ -1643,8 +1643,6 @@ vid_init_200(amstrad_t *ams)
|
||||
memset(vid, 0x00, sizeof(amsvid_t));
|
||||
|
||||
vid->emulation = device_get_config_int("video_emulation");
|
||||
cga_palette = (device_get_config_int("display_type") << 1);
|
||||
ams_inform(vid);
|
||||
|
||||
/* Default to CGA */
|
||||
vid->dipswitches = 0x10;
|
||||
@@ -1677,6 +1675,9 @@ vid_init_200(amstrad_t *ams)
|
||||
cga_init(cga);
|
||||
mda_init(mda);
|
||||
|
||||
cga_palette = (device_get_config_int("display_type") << 1);
|
||||
ams_inform(vid);
|
||||
|
||||
/* Attribute 8 is white on black (on a real MDA it's black on black) */
|
||||
mda_setcol(0x08, 0, 1, 15);
|
||||
mda_setcol(0x88, 0, 1, 15);
|
||||
|
Reference in New Issue
Block a user