mirror of
https://github.com/mamedev/mame.git
synced 2024-11-18 10:06:19 +01:00
12 lines
198 B
Lua
12 lines
198 B
Lua
local jsoncheat = {}
|
|
|
|
function jsoncheat.filename(name)
|
|
return name .. ".json"
|
|
end
|
|
|
|
function jsoncheat.conv_cheat(data)
|
|
local json = require("json")
|
|
return json.parse(data)
|
|
end
|
|
|
|
return jsoncheat
|