From e312908a22604a89c2ecb636b572f54cdaab9f04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com>
Date: Thu, 30 Jun 2022 08:12:58 +0100
Subject: [PATCH] docs: new comments

---
 src/ppu.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ppu.rs b/src/ppu.rs
index cc3c4cea..e8292591 100644
--- a/src/ppu.rs
+++ b/src/ppu.rs
@@ -41,6 +41,8 @@ pub struct Ppu {
     bg_map: bool,
     bg_tile: bool,
     switch_lcd: bool,
+    /// The current execution mode of the PPU, should change
+    /// between states over the drawing of a frame.
     mode: PpuMode,
     /// Internal clock counter used to control the time in ticks
     /// spent in each of the PPU modes.
-- 
GitLab