From e766c5d5c76a9e958fbfb8ed3f2093f15a56d184 Mon Sep 17 00:00:00 2001 From: cracyc Date: Sun, 17 Dec 2017 15:03:46 -0600 Subject: [PATCH] plugins/hiscore: remove debug print (nw) --- plugins/hiscore/init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/hiscore/init.lua b/plugins/hiscore/init.lua index df998d70a7c..e9178c6a943 100644 --- a/plugins/hiscore/init.lua +++ b/plugins/hiscore/init.lua @@ -50,7 +50,6 @@ function hiscore.startplugin() end hiscore_path = lfs.env_replace(_conf["hi_path"] or hiscore_path); timed_save = _conf["only_save_at_exit"] ~= "1" - print(timed_save) -- hiscoredata_path = _conf["dat_path"]; -- don't know if I should do it, but wathever return true end @@ -61,7 +60,7 @@ function hiscore.startplugin() local _table = {}; for line in string.gmatch(dsting, '([^\n]+)') do local cpu, mem; - cputag, space, offs, len, chk_st, chk_ed, fill = string.match(line, '^@([^,]+),([^,]+),([^,]+),([^,]+),([^,]+),([^,]+),?(%x?%x?)'); + local cputag, space, offs, len, chk_st, chk_ed, fill = string.match(line, '^@([^,]+),([^,]+),([^,]+),([^,]+),([^,]+),([^,]+),?(%x?%x?)'); cpu = manager:machine().devices[cputag]; if not cpu then emu.print_verbose("hiscore: " .. cputag .. " device not found")