nintendo/snes_m.cpp: fix logging on write with read only ports

This commit is contained in:
angelosa 2024-10-31 19:21:02 +01:00
parent 9c32c75d7b
commit 1abad3cb1c

View File

@ -541,9 +541,7 @@ void snes_state::snes_w_io(address_space &space, offs_t offset, uint8_t data)
case JOY3H:
case JOY4L:
case JOY4H:
//#ifdef MAME_DEBUG
logerror( "Write to read-only register: %X value: %X", offset, data );
//#endif /* MAME_DEBUG */
logerror( "Write to read-only register: %X value: %X\n", offset, data );
return;
}