diff --git a/src/cpu/bus.rs b/src/cpu/bus.rs index 4c33e2d..04c9331 100644 --- a/src/cpu/bus.rs +++ b/src/cpu/bus.rs @@ -18,7 +18,7 @@ use std::{ /// # use chirp::*; /// let mut bus = bus! { /// Stack [0x0000..0x0800] = b"ABCDEF", -/// Program [0x0800..0x1000] = include_bytes!("bus.rs"), +/// Program [0x0800..0xf000] = include_bytes!("bus.rs"), /// }; /// ``` #[macro_export] diff --git a/tests/chip8_test_suite.rs b/tests/chip8_test_suite.rs index 72738f6..bd3c434 100644 --- a/tests/chip8_test_suite.rs +++ b/tests/chip8_test_suite.rs @@ -18,7 +18,7 @@ fn setup_environment() -> (CPU, Bus) { // Load the ROM file into RAM Program [0x0200..0x1000], // Create a screen, and fill it with garbage - Screen [0x0F00..0x1000] = include_bytes!("chip8_test_suite.rs"), + Screen [0x0F00..0x1000] = b"jsuadhgufywegrwsdyfogbbg4owgbrt", }, ) }