From 9f1d29222a5d30f7c7816a582862b90bbeda9af4 Mon Sep 17 00:00:00 2001 From: Scott Stone Date: Tue, 5 Jun 2018 23:04:39 -0400 Subject: [PATCH] vgmplay.cpp: Added rudimentary layout using default font symbols to provide clickable buttons for the new media controls recently added. The cursor doesn't seem to show up, but I'm sure one of the layout wizards can quickly remedy that. (nw) --- src/mame/drivers/vgmplay.cpp | 2 ++ src/mame/layout/vgmplay.lay | 56 ++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 src/mame/layout/vgmplay.lay diff --git a/src/mame/drivers/vgmplay.cpp b/src/mame/drivers/vgmplay.cpp index 0838ffc5f34..c62eaba4386 100644 --- a/src/mame/drivers/vgmplay.cpp +++ b/src/mame/drivers/vgmplay.cpp @@ -35,6 +35,7 @@ #include "sound/ymz280b.h" #include "sound/2608intf.h" +#include "vgmplay.lh" #include "debugger.h" #include "speaker.h" @@ -1724,6 +1725,7 @@ MACHINE_CONFIG_START(vgmplay_state::vgmplay) MCFG_DEVICE_ADD("file", BITBANGER, 0) MCFG_BITBANGER_READONLY(true) + MCFG_DEFAULT_LAYOUT(layout_vgmplay) SPEAKER(config, "lspeaker").front_left(); SPEAKER(config, "rspeaker").front_right(); diff --git a/src/mame/layout/vgmplay.lay b/src/mame/layout/vgmplay.lay new file mode 100644 index 00000000000..7b4873f70ac --- /dev/null +++ b/src/mame/layout/vgmplay.lay @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +