mirror of
https://github.com/italicsjenga/gba.git
synced 2024-12-23 19:01:30 +11:00
docs.
This commit is contained in:
parent
7ad9a03ff7
commit
fa490b4cd8
|
@ -347,9 +347,9 @@ impl VideoMode3Bitmap {
|
||||||
|
|
||||||
/// Video mode 4 has two 8bpp indexmaps.
|
/// Video mode 4 has two 8bpp indexmaps.
|
||||||
///
|
///
|
||||||
/// Because VRAM can't be written with less than `u16` at a time, the scanlines
|
/// Because VRAM can't be written with less than 2 bytes at a time, the
|
||||||
/// here use `u8x2` to represent pixels pairs so that all the writes are at
|
/// scanlines here use `u8x2` to represent pixels pairs so that all the writes
|
||||||
/// least `u16` large.
|
/// are at least 2 bytes large.
|
||||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||||
pub struct VideoMode4Frame(usize);
|
pub struct VideoMode4Frame(usize);
|
||||||
impl VideoMode4Frame {
|
impl VideoMode4Frame {
|
||||||
|
|
Loading…
Reference in a new issue