From ca567ed1f1ed2e9f6959e5b791b8890bf9144650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Mon, 14 Aug 2023 16:08:20 +0100 Subject: [PATCH] fix: `window_counter` issue in PPU --- CHANGELOG.md | 1 + src/ppu.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83772a62..edac0901 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed * Breaking issue with Libretro frontend and Linux +* Fix ´window_counter´ issue in PPU ## [0.9.13] - 2023-08-01 diff --git a/src/ppu.rs b/src/ppu.rs index 6a35d553..61516362 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -820,6 +820,7 @@ impl Ppu { self.ly = 0; self.int_vblank = false; self.int_stat = false; + self.window_counter = 0; self.first_frame = true; self.clear_frame_buffer(); } -- GitLab