diff --git a/src/emu/machine/pla.c b/src/emu/machine/pla.c index 22b52ef61d6..1ff0d649877 100644 --- a/src/emu/machine/pla.c +++ b/src/emu/machine/pla.c @@ -37,7 +37,7 @@ pla_device::pla_device(const machine_config &mconfig, const char *tag, device_t void pla_device::device_start() { - assert(*region() != NULL); + assert(region() != NULL); assert(m_terms < MAX_TERMS); assert(m_inputs <= 32 && m_outputs <= 32); diff --git a/src/lib/util/plaparse.c b/src/lib/util/plaparse.c index 1582f29af81..65c84b04f09 100644 --- a/src/lib/util/plaparse.c +++ b/src/lib/util/plaparse.c @@ -183,7 +183,7 @@ static void process_field(jed_data *data, const UINT8 *cursrc, const UINT8 *srce // end of file case 'e': - printf("End of file\n"); + if (LOG_PARSE) printf("End of file\n"); break; }