diff options
| author | 2016-04-23 10:52:45 -0500 | |
|---|---|---|
| committer | 2016-04-23 10:52:45 -0500 | |
| commit | 21c89e625858cc8c902a0cb93a1da0721f44b7f6 (patch) | |
| tree | f4ddef70d2fb1ee283832a28ecb0e1a787a3f0c7 /plugins/cheatfind | |
| parent | 8ade16979487afcd4a86d90f0c71921b09916116 (diff) | |
luaengine: fix ui (nw)
Diffstat (limited to 'plugins/cheatfind')
| -rw-r--r-- | plugins/cheatfind/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cheatfind/init.lua b/plugins/cheatfind/init.lua index 067b272dc1c..498ffce144f 100644 --- a/plugins/cheatfind/init.lua +++ b/plugins/cheatfind/init.lua @@ -512,7 +512,7 @@ function cheatfind.startplugin() emu.register_menu(menu_callback, menu_populate, "Cheat Finder") emu.register_frame_done(function () local tag, screen = next(manager:machine().screens) - local height = manager:machine():ui():get_line_height() + local height = mame_manager:ui():get_line_height() for num, watch in ipairs(watches) do screen:draw_text("left", num * height, string.format("%08x %08x", watch.addr, watch.func())) end |
