Add newline after read() debug output (#44)

This commit is contained in:
Ryan Schmidt 2022-11-15 18:01:21 -06:00 committed by GitHub
parent 2703e00201
commit 7ac2a88974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ namespace MPW
int fd = f.cookie;
ssize_t size;
Log(" read(%04x, %08x, %08x)", fd, f.buffer, f.count);
Log(" read(%04x, %08x, %08x)\n", fd, f.buffer, f.count);
size = OS::Internal::FDEntry::read(fd, memoryPointer(f.buffer), f.count);
//Log(" -> %ld\n", size);

View File

@ -505,7 +505,7 @@ namespace ToolBox {
*/
Push<4>(returnPC == 0 ? cpuGetPC() : returnPC);
Log("$04x *%s - $%08x", trap, TrapName(trap), address);
Log("$04x *%s - $%08x\n", trap, TrapName(trap), address);
cpuInitializeFromNewPC(address);
return;
}