From 94dd3713d725a0e97e491aa43f86429764380278 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com>
Date: Sun, 5 Nov 2023 22:47:22 +0000
Subject: [PATCH] chore: new pyboy

---
 examples/python/pocket_pyboy.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/examples/python/pocket_pyboy.py b/examples/python/pocket_pyboy.py
index f4da7c5e..212544fb 100644
--- a/examples/python/pocket_pyboy.py
+++ b/examples/python/pocket_pyboy.py
@@ -1,10 +1,11 @@
 from time import time
 from pyboy import PyBoy
 
-with PyBoy("../../res/roms/demo/pocket.gb", disable_renderer=True) as pyboy:
+with PyBoy("../../res/roms/demo/pocket.gb", disable_renderer=False) as pyboy:
     pyboy.set_emulation_speed(0)
     print(pyboy.cartridge_title())
     start = time()
     for _ in range(6000):
         pyboy.tick()
     print(f"Time taken: {(time() - start)}")
+    pyboy.screen_image().save("pocket_pyboy.png")
-- 
GitLab