diff options
author | 2016-09-07 09:00:08 -0500 | |
---|---|---|
committer | 2016-09-07 09:00:08 -0500 | |
commit | 0c0c086268128d2fbac5028f2e2591e9123c0bf3 (patch) | |
tree | 9e8a7b258ec4117bf873c329f7d32041dee69e49 /plugins | |
parent | fa4b5bdee60e7aa95b435f0a1198a314de815fb1 (diff) |
ui/datmenu: fix in game menu data view (nw)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/data/init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/data/init.lua b/plugins/data/init.lua index 83cf194af11..9387a469744 100644 --- a/plugins/data/init.lua +++ b/plugins/data/init.lua @@ -36,13 +36,13 @@ function data.startplugin() end) emu.register_callback(function(set) local ret + if set == "" then + set = emu.romname() + end if set == cur_set then return cur_list - elseif set == "" then - set = cur_set - else - cur_set = set end + cur_set = set if not set then return nil end |