diff options
author | 2010-06-11 20:37:50 +0000 | |
---|---|---|
committer | 2010-06-11 20:37:50 +0000 | |
commit | 10f5966ea5b9745b9c8eb7ed1f7d901eaf586865 (patch) | |
tree | 5c3f9e329d621341ea885a758adb1c40e3d600f8 /src/emu/machine/8237dma.c | |
parent | 6e075a382388de032a1dd3ad8271d70728590a27 (diff) |
Split implementation for legacy devices into a separate macro. Updated all
devices to use this macro in their .c file. This greatly reduces the amount
of work the linker has to do to combine all the instances, and reduces the
final binary size when building with symbols. Unfortunately, in order to do
it I had to switch back to macros from templates, but I can live with that
for legacy devices.
Diffstat (limited to 'src/emu/machine/8237dma.c')
-rw-r--r-- | src/emu/machine/8237dma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/machine/8237dma.c b/src/emu/machine/8237dma.c index bce04b61cf7..880400c9396 100644 --- a/src/emu/machine/8237dma.c +++ b/src/emu/machine/8237dma.c @@ -673,3 +673,5 @@ DEVICE_GET_INFO( i8237 ) { } } + +DEFINE_LEGACY_DEVICE(I8237, i8237); |