diff options
Diffstat (limited to 'plugins/cheat/init.lua')
-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 |