Actually implement multiplayer

This commit is contained in:
2024-11-14 21:54:13 -05:00
parent c23fc6e9df
commit eef8f834d6
2 changed files with 16 additions and 0 deletions
+2
View File
@@ -114,6 +114,8 @@ impl Emulator {
return Ok(());
};
self.load_rom(SimId::Player2, bytes)?;
let (first, second) = self.sims.split_at_mut(1);
first[0].link(&mut second[0]);
Ok(())
}