mirror of
https://github.com/holub/mame
synced 2025-04-26 18:23:08 +03:00
Remove printf debugging. (nw)
This commit is contained in:
parent
5a5a0a2e65
commit
5f03cca7ed
@ -826,15 +826,10 @@ WRITE8_MEMBER(galaxian_state::konami_sound_filter_w)
|
|||||||
/* the offset is used as data, 6 channels * 2 bits each */
|
/* the offset is used as data, 6 channels * 2 bits each */
|
||||||
/* AV0 .. AV5 ==> AY8910 #2 - 3C */
|
/* AV0 .. AV5 ==> AY8910 #2 - 3C */
|
||||||
/* AV6 .. AV11 ==> AY8910 #1 - 3D */
|
/* AV6 .. AV11 ==> AY8910 #1 - 3D */
|
||||||
static int last = 0;
|
|
||||||
if (offset != last)
|
|
||||||
printf("filter %04x\n", offset);
|
|
||||||
for (int which = 0; which < 2; which++)
|
for (int which = 0; which < 2; which++)
|
||||||
{
|
{
|
||||||
if (m_ay8910[which] != nullptr)
|
if (m_ay8910[which] != nullptr)
|
||||||
{
|
{
|
||||||
if (offset != last)
|
|
||||||
printf("filter%d %04x\n", which, (offset >> (6*(1-which))) & 0x3f);
|
|
||||||
for (int flt = 0; flt < 6; flt++)
|
for (int flt = 0; flt < 6; flt++)
|
||||||
{
|
{
|
||||||
const int fltnum = (flt + 6 * which);
|
const int fltnum = (flt + 6 * which);
|
||||||
@ -846,7 +841,6 @@ WRITE8_MEMBER(galaxian_state::konami_sound_filter_w)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
last = offset;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user