From fa490b4cd81ed62d14a0d0677a1a2b865947968d Mon Sep 17 00:00:00 2001 From: lokathor Date: Fri, 21 Oct 2022 17:40:47 -0600 Subject: [PATCH] docs. --- src/mmio.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mmio.rs b/src/mmio.rs index 9342bbc..c171215 100644 --- a/src/mmio.rs +++ b/src/mmio.rs @@ -347,9 +347,9 @@ impl VideoMode3Bitmap { /// Video mode 4 has two 8bpp indexmaps. /// -/// Because VRAM can't be written with less than `u16` at a time, the scanlines -/// here use `u8x2` to represent pixels pairs so that all the writes are at -/// least `u16` large. +/// Because VRAM can't be written with less than 2 bytes at a time, the +/// scanlines here use `u8x2` to represent pixels pairs so that all the writes +/// are at least 2 bytes large. #[derive(Debug, Clone, Copy, Default, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct VideoMode4Frame(usize); impl VideoMode4Frame {