mirror of
https://github.com/holub/mame
synced 2025-10-04 08:28:39 +03:00
plugin/cheat: use print_error to make testing easier (nw)
This commit is contained in:
parent
efc1de1887
commit
efe9644b5c
@ -178,7 +178,7 @@ function cheat.startplugin()
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function cheat_error(cheat, msg)
|
local function cheat_error(cheat, msg)
|
||||||
emu.print_verbose("error cheat script error: \"" .. cheat.desc .. "\" " .. msg)
|
emu.print_error("error cheat script error: \"" .. cheat.desc .. "\" " .. msg)
|
||||||
cheat.desc = cheat.desc .. " error"
|
cheat.desc = cheat.desc .. " error"
|
||||||
cheat.script = nil
|
cheat.script = nil
|
||||||
cheat.enabled = nil
|
cheat.enabled = nil
|
||||||
|
Loading…
Reference in New Issue
Block a user