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/sound/beep.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/sound/beep.c')
-rw-r--r-- | src/emu/sound/beep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/sound/beep.c b/src/emu/sound/beep.c index c4df30a1889..61f6492b278 100644 --- a/src/emu/sound/beep.c +++ b/src/emu/sound/beep.c @@ -188,3 +188,6 @@ DEVICE_GET_INFO( beep ) case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright The MESS Team"); break; } } + + +DEFINE_LEGACY_SOUND_DEVICE(BEEP, beep); |