mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-01 19:41:48 +00:00
Merge pull request #106 from akuker/stdout-buffering-fix
Stdout buffering fix
This commit is contained in:
commit
641130c4d7
|
@ -1121,6 +1121,8 @@ int main(int argc, char* argv[])
|
||||||
DWORD now;
|
DWORD now;
|
||||||
BUS::phase_t phase;
|
BUS::phase_t phase;
|
||||||
BYTE data;
|
BYTE data;
|
||||||
|
// added setvbuf to override stdout buffering, so logs are written immediately and not when the process exits.
|
||||||
|
setvbuf(stdout, NULL, _IONBF, 0);
|
||||||
#ifndef BAREMETAL
|
#ifndef BAREMETAL
|
||||||
struct sched_param schparam;
|
struct sched_param schparam;
|
||||||
#endif // BAREMETAL
|
#endif // BAREMETAL
|
||||||
|
|
Loading…
Reference in New Issue
Block a user