X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fdebug%2Fcpubrowser.cpp;h=6a0d242790f527ce36c7b0bf0da73611e6ddea8d;hb=d207b11e613703aff7d00191c4595b7359f29700;hp=331ac9059ac390f30f2536017876fa39d6a75603;hpb=48dd9ba5b6742935eef61cec80964afe093139ad;p=virtualjaguar diff --git a/src/gui/debug/cpubrowser.cpp b/src/gui/debug/cpubrowser.cpp index 331ac90..6a0d242 100644 --- a/src/gui/debug/cpubrowser.cpp +++ b/src/gui/debug/cpubrowser.cpp @@ -25,7 +25,8 @@ CPUBrowserWindow::CPUBrowserWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog), layout(new QVBoxLayout), text(new QLabel), refresh(new QPushButton(tr("Refresh"))), - bpm(new QCheckBox(tr("BPM"))), bpmAddress(new QLineEdit) + bpm(new QCheckBox(tr("BPM"))), bpmAddress(new QLineEdit), + bpmContinue(new QPushButton(tr("Resume"))) { setWindowTitle(tr("CPU Browser")); @@ -37,6 +38,7 @@ CPUBrowserWindow::CPUBrowserWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt: QHBoxLayout * hbox1 = new QHBoxLayout; hbox1->addWidget(bpm); hbox1->addWidget(bpmAddress); + hbox1->addWidget(bpmContinue); QFont fixedFont("Lucida Console", 8, QFont::Normal); // QFont fixedFont("", 8, QFont::Normal); @@ -52,6 +54,7 @@ CPUBrowserWindow::CPUBrowserWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt: connect(refresh, SIGNAL(clicked()), this, SLOT(RefreshContents())); connect(bpm, SIGNAL(clicked(bool)), this, SLOT(HandleBPM(bool))); connect(bpmAddress, SIGNAL(textChanged(const QString &)), this, SLOT(HandleBPMAddress(const QString &))); + connect(bpmContinue, SIGNAL(clicked()), this, SLOT(HandleBPMContinue())); } @@ -260,6 +263,12 @@ void CPUBrowserWindow::HandleBPMAddress(const QString & newText) } +void CPUBrowserWindow::HandleBPMContinue(void) +{ + M68KDebugResume(); +} + + void CPUBrowserWindow::keyPressEvent(QKeyEvent * e) { if (e->key() == Qt::Key_Escape)