summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/pic16c62x/pic16c62x.c
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2015-05-31 13:20:42 +0200
committer Olivier Galibert <galibert@pobox.com>2015-05-31 13:25:17 +0200
commit511762fa2d25965d05fc277efd29fb4a50d95420 (patch)
tree09211cade5deaa068d2e2603ba93c4ca4d8b6951 /src/emu/cpu/pic16c62x/pic16c62x.c
parent3a9d6f4b4be4bed19720eea2cffab021139bd241 (diff)
Allow compiling with shared libraries [O. Galibert]
Put SHLIB=1 in the main makefile, or on the command line. The idea is to get a *way* faster link with symbols. It works at least on linux, with one annoying caveat: you have to be in the build/projects/sdl/mame/gmake-linux directory to start mame afterwards. We're going to move some things around to be able to use LD_LIBRARY_PATH or have it start as-is from the root.
Diffstat (limited to 'src/emu/cpu/pic16c62x/pic16c62x.c')
-rw-r--r--src/emu/cpu/pic16c62x/pic16c62x.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/emu/cpu/pic16c62x/pic16c62x.c b/src/emu/cpu/pic16c62x/pic16c62x.c
index 42e92b0addf..1d2dae52b95 100644
--- a/src/emu/cpu/pic16c62x/pic16c62x.c
+++ b/src/emu/cpu/pic16c62x/pic16c62x.c
@@ -57,6 +57,15 @@
#include "pic16c62x.h"
+const device_type PIC16C620 = &device_creator<pic16c620_device>;
+const device_type PIC16C620A = &device_creator<pic16c620a_device>;
+const device_type PIC16C621 = &device_creator<pic16c621_device>;
+const device_type PIC16C621A = &device_creator<pic16c621a_device>;
+const device_type PIC16C622 = &device_creator<pic16c622_device>;
+const device_type PIC16C622A = &device_creator<pic16c622a_device>;
+
+
+
/****************************************************************************
* Internal Memory Map
****************************************************************************/