diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2013-07-22 10:23:33 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2013-07-22 10:23:33 +0000 |
commit | a0bce530f382f352590a4324b0e5998f732962c9 (patch) | |
tree | 562b6e5e7ffd04e6ee7bf84bf4c739e42763ca1d /src/emu/info.c | |
parent | 72cce1525e832c1398084b73fe65a32e18845e8c (diff) |
ignore just samples when displaying sample device itself, since it gets first attached sample in xml (nw)
Diffstat (limited to 'src/emu/info.c')
-rw-r--r-- | src/emu/info.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emu/info.c b/src/emu/info.c index 8acb670dcdc..42eff6a71da 100644 --- a/src/emu/info.c +++ b/src/emu/info.c @@ -373,7 +373,10 @@ void info_xml_creator::output_one_device(device_t &device, const char *devtag) fprintf(m_output, "\t\t<description>%s</description>\n", xml_normalize_string(device.name())); output_rom(device); - //output_sample(device); + + samples_device *samples = dynamic_cast<samples_device*>(&device); + if (samples==NULL) output_sample(device); // ignore samples_device itself + output_chips(device, devtag); output_display(device, devtag); if (has_speaker) |