diff --git a/src/machine/m_amstrad.c b/src/machine/m_amstrad.c index be44fa734..24fc1be51 100644 --- a/src/machine/m_amstrad.c +++ b/src/machine/m_amstrad.c @@ -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);