feat: integrate eui and pixels-rs for debug info

This commit is contained in:
2021-06-02 01:50:16 -05:00
parent 96cf705966
commit b1bf6c5868
7 changed files with 790 additions and 182 deletions

View File

@@ -1,7 +1,11 @@
pub use cpu::Cpu as LR35902;
pub use gui::Egui;
pub use instruction::Cycle;
pub use joypad::ButtonState;
#[cfg(feature = "debug")]
pub use cpu::RegisterPair;
pub const GB_WIDTH: usize = 160;
pub const GB_HEIGHT: usize = 144;
pub const LR35902_CLOCK_SPEED: u32 = 0x400000; // Hz | 4.194304Mhz
@@ -9,6 +13,7 @@ pub const LR35902_CLOCK_SPEED: u32 = 0x400000; // Hz | 4.194304Mhz
mod bus;
mod cartridge;
mod cpu;
mod gui;
mod high_ram;
mod instruction;
mod interrupt;