pub fn send(&mut self, level: MGBADebugLevel) {
    if level == MGBADebugLevel::Fatal {
      // Note(Lokathor): A Fatal send causes the emulator to halt!
      Self::SEND_ADDRESS.write(Self::SEND_FLAG | MGBADebugLevel::Fatal as u16);
    } else {
      Self::SEND_ADDRESS.write(Self::SEND_FLAG | level as u16);
      self.bytes_written = 0;
    }
  }
/// Once output is buffered you must send it out with a level.
///
/// If the `Fatal` level is selected, the buffer is sent out as `Error`
/// followed by a blank message being sent as `Error`. This is done because
/// the `Fatal` message appears in a popup without showing up in the log, so
/// it might accidentally be discarded.
Once output is buffered you must send it out with a level.
Once output is buffered you must send it out with a level .
pub fn send(&mut self, level: MGBADebugLevel) {
    if level == MGBADebugLevel::Fatal {
      // Note(Lokathor): A Fatal send causes the emulator to halt!
      Self::SEND_ADDRESS.write(Self::SEND_FLAG | MGBADebugLevel::Fatal as u16);
    } else {
      Self::SEND_ADDRESS.write(Self::SEND_FLAG | level as u16);
      self.bytes_written = 0;
    }
  }
pub fn send ( & mut self , level : MGBADebugLevel ) { if level == MGBADebugLevel :: Fatal { // Note(Lokathor): A Fatal send causes the emulator to halt! Self :: SEND_ADDRESS . write ( Self :: SEND_FLAG | MGBADebugLevel :: Fatal as u16 ) ; } else { Self :: SEND_ADDRESS . write ( Self :: SEND_FLAG | level as u16 ) ; self . bytes_written = 0 ; } }
Once output is buffered you must send it out with a level.
Once output is buffered you must send it out with a level .
&mut self
level
MGBADebugLevel
&mut self
level
MGBADebugLevel