From dc2970a3ac4448ca4792e52c08d82c644f5c4bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Sun, 6 Nov 2022 21:41:45 +0000 Subject: [PATCH] docs: new comments --- src/rom.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rom.rs b/src/rom.rs index 9adc54c9..8cffef5b 100644 --- a/src/rom.rs +++ b/src/rom.rs @@ -182,6 +182,10 @@ impl Display for RamSize { } } +/// Structure that defines the ROM and ROM contents +/// of a Game Boy cartridge. Should correctly address +/// the specifics of all the major MBCs (Memory Bank +/// Controllers). #[cfg_attr(feature = "wasm", wasm_bindgen)] #[derive(Clone)] pub struct Cartridge { -- GitLab