From 66e530d22543b1c04d57fe7e900e7826b1636765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Tue, 10 Jan 2023 21:00:07 +0200 Subject: [PATCH] Change pyglet.media.procedural.Square to pyglet.media.synthesis.Square for Pyglet 2.0 support --- sipsi-8.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sipsi-8.py b/sipsi-8.py index 7c5f4b8..b951f1a 100644 --- a/sipsi-8.py +++ b/sipsi-8.py @@ -401,7 +401,7 @@ def tick_timers(): if sound_timer > 0: # sound_timer is in the unit of 1/60th of a second, while # Square takes length in seconds - pyglet.media.procedural.Square(sound_timer/60).play() + pyglet.media.synthesis.Square(sound_timer/60).play() sound_timer = 0 def advance_interpreter(dt):