mirror of
https://github.com/libretro/Mu.git
synced 2026-11-16 17:11:10 +00:00
Fix all '3's being deleted when the debug string is 51 characters long
This commit is contained in:
@@ -33,7 +33,7 @@ void frontendHandleDebugPrint(){
|
||||
|
||||
//this debug handler doesnt need the \n
|
||||
if(newDebugString.back() == '\n')
|
||||
newDebugString.remove(newDebugString.length() - 1);
|
||||
newDebugString.remove(newDebugString.length() - 1, 1);
|
||||
|
||||
if(!debugStrings.empty() && newDebugString == debugStrings.back()){
|
||||
duplicateCallCount.back()++;
|
||||
|
||||
@@ -204,7 +204,7 @@ void MainWindow::on_ctrlBtn_clicked(){
|
||||
}
|
||||
|
||||
void MainWindow::on_debugger_clicked(){
|
||||
if(emu.isRunning()){
|
||||
if(emu.isInited()){
|
||||
emu.pause();
|
||||
ui->ctrlBtn->setIcon(QIcon(":/buttons/images/play.png"));
|
||||
emuDebugger->exec();
|
||||
|
||||
Reference in New Issue
Block a user