fflush after printing ideas and nocash messages

This commit is contained in:
zeromus 2025-05-11 17:42:07 -04:00
parent 48fcb850de
commit cdb9acdc4d
1 changed files with 4 additions and 0 deletions

View File

@ -388,7 +388,10 @@ void IdeasLog(armcpu_t* cpu)
if(!c) break;
printf("%c",c);
}
//don't emit a newline. that is a pain in the butt.
fflush(stdout);
}
void NocashMessage(armcpu_t* cpu, int offset)
@ -437,6 +440,7 @@ void NocashMessage(armcpu_t* cpu, int offset)
sprintf(tmp,"%lld",nds_timer); todo = mass_replace(todo,"%totalclks%",tmp);
printf("%s",todo.c_str());
fflush(stdout);
}
//-------