diff --git a/CHANGELOG.md b/CHANGELOG.md index 83772a6233cbf6ecc1dc906601b7c1ca9480ca86..edac0901b2e35b52c7a7f9f69ec3c17630822564 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 6a35d553226a37d7882fd98665599818a15beb8d..615163621a08ebac23332e90f73a276d7caccd58 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(); }