diff options
| author | 2021-11-02 15:31:03 +1100 | |
|---|---|---|
| committer | 2021-11-02 15:31:03 +1100 | |
| commit | d775a2731d7be00fe53932c43cb2321769ef1989 (patch) | |
| tree | 16c75c22431717bb731c238e8796f41f4bba006d /plugins/data | |
| parent | e4c0f2ddacb44863f4b9bb52b76d1f5f8e5b03a8 (diff) | |
plugins: Moved the timecode recording functionality to a plugin.
Diffstat (limited to 'plugins/data')
| -rw-r--r-- | plugins/data/data_hiscore.lua | 4 | ||||
| -rw-r--r-- | plugins/data/database.lua | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/data/data_hiscore.lua b/plugins/data/data_hiscore.lua index febfe28d0f9..c0794b20195 100644 --- a/plugins/data/data_hiscore.lua +++ b/plugins/data/data_hiscore.lua @@ -547,7 +547,7 @@ function env.basechar(bytes, base) end return newbytes end - emu.print_verbose("data_hiscore: basechar " .. base .. " unimplemented\n") + emu.print_verbose("data_hiscore: basechar " .. base .. " unimplemented") return bytes end @@ -566,7 +566,7 @@ function env.charset_conv(bytes, charset, aoffset) end return bytes end - emu.print_verbose("data_hiscore: charset " .. chartype .. " unimplemented\n") + emu.print_verbose("data_hiscore: charset " .. chartype .. " unimplemented") return bytes end for num, char in ipairs(bytes) do diff --git a/plugins/data/database.lua b/plugins/data/database.lua index b868173ce08..be52f23ee63 100644 --- a/plugins/data/database.lua +++ b/plugins/data/database.lua @@ -4,7 +4,7 @@ local db local function check_db(msg) if db:errcode() > sql.OK then - emu.print_error(string.format("Error: %s (%s - %s)\n", msg, db:errcode(), db:errmsg())) + emu.print_error(string.format("Error: %s (%s - %s)", msg, db:errcode(), db:errmsg())) end end @@ -15,7 +15,7 @@ do lfs.mkdir(dbpath) db = sql.open(dbpath .. "/history.db") if not db then - emu.print_error("Unable to create history.db\n") + emu.print_error("Unable to create history.db") return false end check_db("opening database") |
