From 3dbd27525af3c8ac10c7107e5b06a2b2f6cb17c3 Mon Sep 17 00:00:00 2001 From: hkc Date: Fri, 20 Oct 2023 04:40:32 +0300 Subject: [PATCH] Oopsie --- mess/tmpc.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mess/tmpc.lua b/mess/tmpc.lua index 50120e8..51c24d1 100644 --- a/mess/tmpc.lua +++ b/mess/tmpc.lua @@ -510,20 +510,20 @@ function() local title = drive.read(117) if offset > drive.getSize() or length > drive.getSize() then mplayer.songs = { - { - title = drive.getLabel(), - offset = 0, - length = drive.getSize() - 10 - }, { title = "NOTE: It's just a regular tape", offset = drive.getSize() - 10, length = 10 + }, + { + title = drive.getLabel(), + offset = 0, + length = drive.getSize() - 10 } } for t = 1, drive.getSize(), 6000 * 60 * 5 do - table.insert(mplayer.songs, 2, { - title = "Skip to " .. time2str(t), + table.insert(mplayer.songs, { + title = "Skip to " .. time2str(t / 6000), offset = t, length = 6000 * 60 * 5 })