mirror of https://github.com/PCSX2/pcsx2.git
parent
b54521de51
commit
f42647426b
|
@ -28,10 +28,8 @@ static unsigned psxout_repeat;
|
||||||
|
|
||||||
static void flush_stdout(bool closing = false)
|
static void flush_stdout(bool closing = false)
|
||||||
{
|
{
|
||||||
size_t linelen;
|
|
||||||
|
|
||||||
while (!psxout_buf.empty()) {
|
while (!psxout_buf.empty()) {
|
||||||
linelen = psxout_buf.find_first_of("\n\0", 0, 2);
|
size_t linelen = psxout_buf.find_first_of("\n\0", 0, 2);
|
||||||
if (linelen == std::string::npos) {
|
if (linelen == std::string::npos) {
|
||||||
if (!closing)
|
if (!closing)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue