"""Re-run only the audio check on an existing capture (no emulation).""" import sys from pathlib import Path sys.path.insert(0, str(Path(__file__).resolve().parents[1])) from rrmd.__main__ import check_audio # noqa: E402 print("PASS" if check_audio(Path(sys.argv[1]), sys.argv[2] if len(sys.argv) > 2 else "megadrive2") else "FAIL")