andkrau / NuanceResurrection

Other
61 stars 5 forks source link

kprintf - printf debugging #21

Closed gwald closed 1 year ago

gwald commented 1 year ago

This info is at the bottom of bios.cpp, it how you would enable it via the config file

//config instructions: ; Enables kprintf for printf debugging (via console/TTY/serial) ; To use kprintf you must define the prototype as: ; extern void kprintf(const char *, ...); ; And link with -lrombios ; kprint values are 0-3 ; 0 does nothing ; 1 halts and popup message for each kprintf ; 2 writes log file to kprintf.txt in the folder nuance.exe was called in ; 3 does both 2 and 3 ; 4+ does nothing [kprintf] 2