Add UI for a terminal
This commit is contained in:
@@ -645,6 +645,10 @@ impl Emulator {
|
||||
};
|
||||
sim.remove_watchpoint(address, length, watch);
|
||||
}
|
||||
EmulatorCommand::ConnectTerminal(sim_id, terminal_sink) => {
|
||||
// TODO
|
||||
let _ = (sim_id, terminal_sink);
|
||||
}
|
||||
EmulatorCommand::SetAudioEnabled(p1, p2) => {
|
||||
self.audio_on[SimId::Player1.to_index()].store(p1, Ordering::Release);
|
||||
self.audio_on[SimId::Player2.to_index()].store(p2, Ordering::Release);
|
||||
@@ -718,6 +722,7 @@ pub enum EmulatorCommand {
|
||||
RemoveBreakpoint(SimId, u32),
|
||||
AddWatchpoint(SimId, u32, usize, VBWatchpointType),
|
||||
RemoveWatchpoint(SimId, u32, usize, VBWatchpointType),
|
||||
ConnectTerminal(SimId, mpsc::Sender<String>),
|
||||
SetAudioEnabled(bool, bool),
|
||||
Link,
|
||||
Unlink,
|
||||
|
||||
Reference in New Issue
Block a user