mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00
(debugmsg on port c illegal write)
This commit is contained in:
parent
c4130de58a
commit
7cde78dac7
@ -474,6 +474,10 @@ static TIMER_CALLBACK( ymf278b_timer_ld_clear )
|
||||
|
||||
static void ymf278b_C_w(YMF278BChip *chip, UINT8 reg, UINT8 data)
|
||||
{
|
||||
// officially, these registers can't be accessed if NEW2 is 0
|
||||
if (~chip->exp & 2)
|
||||
logerror("YMF278B: Port C illegal write %02x, %02x\n", reg, data);
|
||||
|
||||
chip->stream->update();
|
||||
chip->pcmregs[reg] = data;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user