mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
apple/dafb.cpp: Fix color depth selection on the MEMC integrated version of DAFB. [R. Belmont]
This commit is contained in:
parent
be76314bfe
commit
a4e4c0749c
1 changed files with 1 additions and 1 deletions
|
@ -1071,7 +1071,7 @@ void dafb_memc_device::ramdac_w(offs_t offset, u32 data)
|
||||||
{
|
{
|
||||||
LOGMASKED(LOG_RAMDAC, "%02x to AC842a PCBR0, & 0x1c = %02x\n", data, data & 0x1c);
|
LOGMASKED(LOG_RAMDAC, "%02x to AC842a PCBR0, & 0x1c = %02x\n", data, data & 0x1c);
|
||||||
m_ac842_pbctrl = data;
|
m_ac842_pbctrl = data;
|
||||||
if ((m_pcbr1 & 0xc0) == 0xc0)
|
if (((m_pcbr1 & 0xc0) == 0xc0) && ((data & 0x06) == 0x06))
|
||||||
{
|
{
|
||||||
m_mode = 5; // 16 bpp (x555)
|
m_mode = 5; // 16 bpp (x555)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue