Replace printf with DEBUG

This commit is contained in:
Yorick Barbanneau 2021-10-14 00:01:57 +02:00
parent 22397c9345
commit 23a253aa50

View file

@ -165,10 +165,10 @@ ExceptionHandler (ExceptionType which)
do { do {
char* write = new char[MAX_STRING_SIZE]; char* write = new char[MAX_STRING_SIZE];
consoledriver->GetString(write, MAX_STRING_SIZE); consoledriver->GetString(write, MAX_STRING_SIZE);
printf("write:%s:\n", write); DEBUG('s', "write:%s:\n", write);
writesize = copyStringToMachine(addr, write, MAX_STRING_SIZE); writesize = copyStringToMachine(addr, write, MAX_STRING_SIZE);
addr += writesize; addr += writesize;
printf("Writed:%d\n", writesize); DEBUG('s', "Writed:%d\n", writesize);
delete [] write; delete [] write;
} while( writesize == MAX_STRING_SIZE - 1 ); } while( writesize == MAX_STRING_SIZE - 1 );
break; break;