ksherlock / mpw

Macintosh Programmer's Workshop (mpw) compatibility layer
238 stars 21 forks source link

Add newline after read() debug output #44

Closed ryandesign closed 1 year ago

ryandesign commented 1 year ago

This adds a newline after the debug output for the read() function when --trace-mpw is enabled (and also for a commented-out debug line in toolbox::dispatch()).

This prevents debugging lines that run together, like:

f003 Read(00e7a450)
     read(0007, 00818034, 00001000)f005 IOCtl(00e7a43c, 00006603, 00fffc2c)
     bufsize(06)

Alternately, uncomment the subsequent //Log(" -> %ld\n", size); line since it includes the newline already.

ksherlock commented 1 year ago

thanks!