diff --git a/captures/test.png b/captures/test.png new file mode 100644 index 0000000..0cff91c Binary files /dev/null and b/captures/test.png differ diff --git a/main.py b/main.py index b235bb8..c6ea96c 100644 --- a/main.py +++ b/main.py @@ -17,6 +17,7 @@ def load_state(path: str, pyboy: PyBoy) -> None: while pyboy.tick(): pyboy.button(valid_buttons[0]) # a pyboy.tick() + pyboy.screen.image.save("captures/test.png") pass pyboy.stop()