Volkov: адаптировать тайминги MAME 0.287 и таймаут на macOS

This commit is contained in:
2026-09-15 17:57:20 +03:00
parent 8e389c03f8
commit 50c6e56b7b
7 changed files with 42 additions and 12 deletions
@@ -1,4 +1,5 @@
-- P19: запускает target-пробу overwrite и фиксирует итоговую таблицу.
-- Запас на I/O MAME 0.287: ранний выход обрывал пробу до ALL PASS.
local KB = ":kbd:ms_naturl:"
local HOLD = 0.06
@@ -40,10 +41,10 @@ end
type_text(8.0, "d:\n")
type_text(10.0, "DELRT.EXE\n")
key(18.0, "P2.1", 0x10)
key(90.0, "P2.1", 0x10)
table.sort(events, function(a, b) return a[1] < b[1] end)
local snap_times = {15.0, 20.0}
local snap_times = {80.0, 95.0}
local snaps_done = {}
local start_time = nil
local ports = nil
@@ -83,5 +84,5 @@ emu.register_periodic(function()
manager.machine.video:snapshot()
end
end
if elapsed >= 22.0 then manager.machine:exit() end
if elapsed >= 100.0 then manager.machine:exit() end
end)