diff options
| author | 2023-03-08 00:16:47 +1100 | |
|---|---|---|
| committer | 2023-03-08 00:16:47 +1100 | |
| commit | 27fc20067867039d185d99db754ee0dc9af47b40 (patch) | |
| tree | d67cf40741cacb8971e5479a27b1f02bb03ba72d /plugins/layout | |
| parent | 5b5b5019109ea177b54266910df923e1692d95e1 (diff) | |
Tie up a few loose ends:
* msx2_flop.xml: Fixed a couple of Japanese titles.
* plugins/layout: Added a couple of things to the layout script sandbox.
* Tidied up Hyper Neo Geo 64 code (srcclean etc.).
Diffstat (limited to 'plugins/layout')
| -rw-r--r-- | plugins/layout/init.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/layout/init.lua b/plugins/layout/init.lua index bcb374b8e67..861e0a697b3 100644 --- a/plugins/layout/init.lua +++ b/plugins/layout/init.lua @@ -17,19 +17,22 @@ function layout.startplugin() local env = { machine = manager.machine, emu = { + attotime = emu.attotime, render_bounds = emu.render_bounds, render_color = emu.render_color, print_verbose = emu.print_verbose, print_error = emu.print_error, + print_warning = emu.print_warning, print_info = emu.print_info, print_debug = emu.print_debug }, file = file, print = print, pairs = pairs, ipairs = ipairs, - string = { format = string.format }, + string = string, + tonumber = tonumber, tostring = tostring, - table = { insert = table.insert, remove = table.remove } } + table = table } local script, err = load(script, script, "t", env) if not script then emu.print_verbose("error loading layout script " .. err) |
