summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/dummy/init.lua
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-02-21 11:48:45 +0100
committer ImJezze <jezze@gmx.net>2016-02-21 11:48:45 +0100
commitcc24a339d8c0517259084b5c178d784626ba965c (patch)
tree9868e9687b5802ae0a3733712a3bbeb3bc75c953 /plugins/dummy/init.lua
parentb5daabda5495dea5c50e17961ecfed2ea8619d76 (diff)
Merge remote-tracking branch 'refs/remotes/mamedev/master'
Second attempt
Diffstat (limited to 'plugins/dummy/init.lua')
-rw-r--r--plugins/dummy/init.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/dummy/init.lua b/plugins/dummy/init.lua
new file mode 100644
index 00000000000..8c4fbe6a0f5
--- /dev/null
+++ b/plugins/dummy/init.lua
@@ -0,0 +1,20 @@
+local exports = {}
+exports.name = "dummy"
+exports.version = "0.0.1"
+exports.description = "A dummy example"
+exports.license = "MIT"
+exports.author = { name = "Miodrag Milanovic" }
+
+local dummy = exports
+
+function dummy.startplugin()
+ emu.register_start(function()
+ print("Starting " .. emu.gamename())
+ end)
+
+ emu.register_stop(function()
+ print("Exiting " .. emu.gamename())
+ end)
+end
+
+return exports