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

feat: added gbprinter test ROM

parent c5ef259a
No related branches found
No related tags found
1 merge request!23Support for serial data transfer 🔌
Pipeline #2502 passed
......@@ -444,6 +444,7 @@ fn main() {
// creates a new Game Boy instance and loads both the boot ROM
// and the initial game ROM to "start the engine"
let mut game_boy = GameBoy::new();
game_boy.attach_stdout_serial();
game_boy.load_boot_default();
// creates a new generic emulator structure then starts
......@@ -451,7 +452,7 @@ fn main() {
// ROM file and starts running it
let mut emulator = Emulator::new(game_boy);
emulator.start(SCREEN_SCALE);
emulator.load_rom(Some("../../res/roms/demo/pocket.gb"));
emulator.load_rom(Some("../../res/roms/test/gbprinter.gb"));
emulator.toggle_palette();
emulator.run();
}
......
File added
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