mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
fix sentence building by concatenation, and at the same time collapse two translatable strings to one (nw)
This commit is contained in:
parent
58942fce28
commit
4995201684
@ -715,7 +715,7 @@ function cheatfind.startplugin()
|
||||
cheat_save.json = json.stringify({[1] = cheat}, {indent = true})
|
||||
cheat_save.xml = string.format("<mamecheat version=1>\n<cheat desc=\"%%s\">\n<script state=\"run\">\n<action>%s.pp%s@%X=%X</action>\n</script>\n</cheat>\n</mamecheat>", dev.tag:sub(2), widchar, match.addr, match.newval)
|
||||
cheat_save.simple = string.format("%s,%s,%X,%s,%X,%%s\n", setname, dev.tag, match.addr, widchar, match.newval)
|
||||
manager:machine():popmessage(_("Default name is ") .. cheat_save.name)
|
||||
manager:machine():popmessage(string.format(_("Default name is %s"), cheat_save.name))
|
||||
return true
|
||||
else
|
||||
local func = "return space:read"
|
||||
|
Loading…
Reference in New Issue
Block a user