diff options
author | 2021-03-07 10:33:07 -0600 | |
---|---|---|
committer | 2021-03-07 10:33:07 -0600 | |
commit | 61caa1450b534a90fa09f20c084ed45893098725 (patch) | |
tree | 26cc5131ab3db15da91cf70b4402936cd12fd10d | |
parent | 9097e89972d3ca27211e9422131bd59cfa4d8d28 (diff) |
plugins: another leftover
-rw-r--r-- | plugins/cheat/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/cheat/init.lua b/plugins/cheat/init.lua index be2cdf2600c..4f97a5a2cad 100644 --- a/plugins/cheat/init.lua +++ b/plugins/cheat/init.lua @@ -100,8 +100,8 @@ function cheat.startplugin() filename = emu.softname():gsub(":", "/") else for name, image in pairs(manager.machine.images) do - if image.exists and image:software_list_name() ~= "" then - filename = image:software_list_name() .. "/" .. emu.softname() + if image.exists and image.software_list_name ~= "" then + filename = image.software_list_name .. "/" .. emu.softname() end end end |