From 3a28992c7ffdb4a8b9c45353179c090a1a12aaee Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 16 Jul 2021 10:07:28 -0400 Subject: [PATCH] Enable early decode with data read from disk. --- map65/mainwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/map65/mainwindow.cpp b/map65/mainwindow.cpp index 0daccecee..dd04b3c3e 100644 --- a/map65/mainwindow.cpp +++ b/map65/mainwindow.cpp @@ -620,7 +620,7 @@ void MainWindow::dataSink(int k) n=0; } - if(ihsym == 280 and !m_diskData) { //Early decode, t=52 s + if(ihsym == 280) { //Early decode, t=52 s datcom_.newdat=1; datcom_.nagain=0; datcom_.nhsym=ihsym; @@ -1126,6 +1126,9 @@ void MainWindow::diskDat() //diskDat() for(int i=0; i<304; i++) { // Do the half-symbol FFTs int k = i*hsym + 2048.5; dataSink(k); + while(m_decoderBusy) { + qApp->processEvents(); + } if(i%10 == 0) qApp->processEvents(); //Keep the GUI responsive } }