@@ -35,7 +35,7 @@ DebuggerConsoleController::DebuggerConsoleController(QObject* parent)
3535}
3636
3737void DebuggerConsoleController::enterLine (const QString& line) {
38- CoreController::Interrupter interrupter (m_gameController );
38+ CoreController::Interrupter interrupter (m_controller );
3939 QMutexLocker lock (&m_mutex);
4040 m_lines.append (line);
4141 if (m_cliDebugger.d .p && m_cliDebugger.d .p ->state == DEBUGGER_RUNNING) {
@@ -46,7 +46,7 @@ void DebuggerConsoleController::enterLine(const QString& line) {
4646
4747void DebuggerConsoleController::detach () {
4848 {
49- CoreController::Interrupter interrupter (m_gameController );
49+ CoreController::Interrupter interrupter (m_controller );
5050 QMutexLocker lock (&m_mutex);
5151 if (m_cliDebugger.d .p && m_cliDebugger.d .p ->state != DEBUGGER_SHUTDOWN) {
5252 m_lines.append (QString ());
@@ -58,9 +58,9 @@ void DebuggerConsoleController::detach() {
5858}
5959
6060void DebuggerConsoleController::attachInternal () {
61- CoreController::Interrupter interrupter (m_gameController );
61+ CoreController::Interrupter interrupter (m_controller );
6262 QMutexLocker lock (&m_mutex);
63- mCore * core = m_gameController ->thread ()->core ;
63+ mCore * core = m_controller ->thread ()->core ;
6464 CLIDebuggerAttachBackend (&m_cliDebugger, &m_backend);
6565 CLIDebuggerAttachSystem (&m_cliDebugger, core->cliDebuggerSystem (core));
6666}
@@ -123,7 +123,7 @@ void DebuggerConsoleController::lineAppend(struct CLIDebuggerBackend* be, const
123123const char * DebuggerConsoleController::historyLast (struct CLIDebuggerBackend * be, size_t * len) {
124124 Backend* consoleBe = reinterpret_cast <Backend*>(be);
125125 DebuggerConsoleController* self = consoleBe->self ;
126- CoreController::Interrupter interrupter (self->m_gameController );
126+ CoreController::Interrupter interrupter (self->m_controller );
127127 QMutexLocker lock (&self->m_mutex );
128128 if (self->m_history .isEmpty ()) {
129129 return " i" ;
@@ -136,7 +136,7 @@ const char* DebuggerConsoleController::historyLast(struct CLIDebuggerBackend* be
136136void DebuggerConsoleController::historyAppend (struct CLIDebuggerBackend * be, const char * line) {
137137 Backend* consoleBe = reinterpret_cast <Backend*>(be);
138138 DebuggerConsoleController* self = consoleBe->self ;
139- CoreController::Interrupter interrupter (self->m_gameController );
139+ CoreController::Interrupter interrupter (self->m_controller );
140140 QMutexLocker lock (&self->m_mutex );
141141 self->m_history .append (QString::fromUtf8 (line));
142142}
0 commit comments