aboutsummaryrefslogtreecommitdiff
path: root/overrides/gme.h
diff options
context:
space:
mode:
authorneonloop2021-10-21 00:19:07 +0000
committerneonloop2021-10-21 00:19:07 +0000
commita1b4714da9b135a864ebe1b53b8bf4c67b8b18d5 (patch)
tree5c26ecaa9595e2af7e46512bfc6dc67bf87b0512 /overrides/gme.h
parent7c003401f4f1e5463f20af1dc63b25ad8a15e3c1 (diff)
downloadpicoarch-a1b4714da9b135a864ebe1b53b8bf4c67b8b18d5.tar.gz
picoarch-a1b4714da9b135a864ebe1b53b8bf4c67b8b18d5.tar.bz2
picoarch-a1b4714da9b135a864ebe1b53b8bf4c67b8b18d5.zip
Adds gme (Game Music Emu) core
Diffstat (limited to 'overrides/gme.h')
-rw-r--r--overrides/gme.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/overrides/gme.h b/overrides/gme.h
new file mode 100644
index 0000000..e8c8a2f
--- /dev/null
+++ b/overrides/gme.h
@@ -0,0 +1,15 @@
+#include "overrides.h"
+
+me_bind_action gme_ctrl_actions[] =
+{
+ { "PREV TRK ", 1 << RETRO_DEVICE_ID_JOYPAD_L },
+ { "NEXT TRK ", 1 << RETRO_DEVICE_ID_JOYPAD_R },
+ { "PAUSE ", 1 << RETRO_DEVICE_ID_JOYPAD_START },
+ { NULL, 0 }
+};
+
+#define gme_overrides { \
+ .core_name = "gme", \
+ .actions = gme_ctrl_actions, \
+ .action_size = array_size(gme_ctrl_actions), \
+}