diff --git a/pokemon-gold.gbc b/roms/pokemon-gold.gbc similarity index 100% rename from pokemon-gold.gbc rename to roms/pokemon-gold.gbc diff --git a/tetris.gb b/roms/tetris.gb similarity index 100% rename from tetris.gb rename to roms/tetris.gb diff --git a/src/main.rs b/src/main.rs index ea46639..87abc8d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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() });