Ejemplo n.º 1
0
void DbgConsole::Write(int ch, const wxString& text)
{
	while(m_dbg_buffer.IsBusy()) Sleep(1);
	m_dbg_buffer.Push(DbgPacket(ch, text));

	if(!IsAlive()) Start();
}
Ejemplo n.º 2
0
void DbgConsole::Write(int ch, const wxString& text)
{
	while (m_dbg_buffer.IsBusy())
	{
		if (Emu.IsStopped())
		{
			return;
		}
		Sleep(1);
	}
	m_dbg_buffer.Push(DbgPacket(ch, text));

	if(!IsAlive()) Start();
}