Skip to content

Commit

Permalink
move roms into roms directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanballs committed Sep 4, 2024
1 parent b1433cc commit 486d226
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn main() {
let (tx_key, rx_key) = mpsc::channel::<(bool, Key)>();

let emulator_loop = thread::spawn(move || {
let rom_data = read_file_to_bytes("tetris.gb").unwrap();
let rom_data = read_file_to_bytes("roms/tetris.gb").unwrap();
let mut gameboy = GameBoy::new(rom_data, tx.clone(), rx_key);
gameboy.start()
});
Expand Down

0 comments on commit 486d226

Please sign in to comment.