local n = 0 sub = emu.add_machine_frame_notifier(function() n = n + 1 if n == 150 or n == 400 or n==470 then manager.machine.video:snapshot() end end)