Minor cleanup of debug print statements in Qt GUI.

This commit is contained in:
Matthew Budd 2020-10-05 20:11:01 -04:00
parent 6ef21c4433
commit b31a2131b4
3 changed files with 4 additions and 6 deletions

View File

@ -1957,7 +1957,7 @@ void QAsmView::updateAssemblyView(void)
int i,j;
const char *c;
char stmp[256];
printf("Debug symbol Found at $%04X \n", dbgSym->ofs );
//printf("Debug symbol Found at $%04X \n", dbgSym->ofs );
d = new dbg_asm_entry_t();
*d = *a;

View File

@ -301,7 +301,7 @@ int debugSymbolTable_t::loadFileNL( int bank )
while ( fgets( line, sizeof(line), fp ) != 0 )
{
i=0; lineNum++;
printf("%4i:%s", lineNum, line );
//printf("%4i:%s", lineNum, line );
if ( line[i] == '\\' )
{
@ -490,7 +490,7 @@ int debugSymbolTable_t::loadGameSymbols(void)
//nPages = 1<<(15-debuggerPageSize);
nPages = romSize / pageSize;
printf("RomSize: %i NumPages: %i \n", romSize, nPages );
//printf("RomSize: %i NumPages: %i \n", romSize, nPages );
for(int i=0;i<nPages;i++)
{
@ -499,7 +499,7 @@ int debugSymbolTable_t::loadGameSymbols(void)
loadFileNL( i );
}
print();
//print();
return 0;
}

View File

@ -93,7 +93,6 @@ class ppuViewerDialog_t : public QDialog
~ppuViewerDialog_t(void);
protected:
//QTimer *inputTimer;
ppuPatternView_t *patternView[2];
ppuPalatteView_t *paletteView;
@ -113,7 +112,6 @@ class ppuViewerDialog_t : public QDialog
public slots:
void closeWindow(void);
private slots:
//void updatePeriodic(void);
void sprite8x16Changed0(int state);
void sprite8x16Changed1(int state);
void refreshSliderChanged(int value);