summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/pla.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/pla.h')
-rw-r--r--src/emu/machine/pla.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emu/machine/pla.h b/src/emu/machine/pla.h
index d68306e2b53..b1537ce8e2f 100644
--- a/src/emu/machine/pla.h
+++ b/src/emu/machine/pla.h
@@ -23,7 +23,7 @@
//**************************************************************************
#define MAX_TERMS 512
-#define MAX_CACHE_BITS 16
+#define MAX_CACHE_BITS 20
#define CACHE2_SIZE 8
enum
@@ -99,6 +99,9 @@ public:
static void set_num_terms(device_t &device, UINT32 t) { downcast<pla_device &>(device).m_terms = t; }
static void set_inputmask(device_t &device, UINT32 mask) { downcast<pla_device &>(device).m_input_mask = mask; } // UINT32!
static void set_format(device_t &device, int format) { downcast<pla_device &>(device).m_format = format; }
+
+ UINT32 inputs() { return m_inputs; }
+ UINT32 outputs() { return m_outputs; }
UINT32 read(UINT32 input);