Skip to content
Snippets Groups Projects
Verified Commit 1b634bbb authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

docs: new inline docs

parent 11994b91
No related branches found
No related tags found
1 merge request!16Support for Game Boy Color (CGB) 😎🖍️
Pipeline #2672 failed
......@@ -290,7 +290,7 @@ pub struct GameBoy {
/// used as reference or the rest of the components.
cpu: Cpu,
/// Rhe reference counted and mutable reference to
/// The reference counted and mutable reference to
/// Game Boy configuration structure that can be
/// used by the GB components to access global
/// configuration values on the current emulator.
......
......@@ -92,8 +92,13 @@ pub struct Mmu {
/// that is currently selected (CGB only).
ram_offset: u16,
/// The current running mode of the emulator, this
/// may affect many aspects of the emulation.
mode: GameBoyMode,
/// The pointer to the parent configuration of the running
/// Game Boy emulator, that can be used to control the behaviour
/// of Game Boy emulation.
gbc: Rc<RefCell<GameBoyConfig>>,
}
......
......@@ -468,8 +468,13 @@ pub struct Ppu {
/// (CGB only).
dmg_compat: bool,
/// The current running mode of the emulator, this
/// may affect many aspects of the emulation.
gb_mode: GameBoyMode,
/// The pointer to the parent configuration of the running
/// Game Boy emulator, that can be used to control the behaviour
/// of Game Boy emulation.
gbc: Rc<RefCell<GameBoyConfig>>,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment