frames = 0 tap = emu.add_machine_frame_notifier(function() frames = frames + 1 if frames % 120 == 0 then manager.machine.video:snapshot() end end)