summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2014-11-15 01:49:20 +0100
committer hap <happppp@users.noreply.github.com>2014-11-15 01:49:20 +0100
commit493317356e5b8098071b611a6f9a6c8fcd690bcc (patch)
tree374cdc6d190c32d706959a3cd76d535ece5b6f20
parent0112b2d2f90310d5d7babacb0c8f58603f44c662 (diff)
fix compile
-rw-r--r--src/emu/machine/pla.c2
-rw-r--r--src/lib/util/plaparse.c2
2 files changed, 2 insertions, 2 deletions
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;
}