mirror of https://github.com/stella-emu/stella.git
fixed missing log file saving
This commit is contained in:
parent
205c532398
commit
42fce631c0
src/gui
|
@ -124,10 +124,11 @@ void LoggerDialog::saveLogFile()
|
||||||
stringstream out;
|
stringstream out;
|
||||||
out << Logger::instance().logMessages();
|
out << Logger::instance().logMessages();
|
||||||
instance().frameBuffer().showMessage("Saving log file to " + node.getShortPath());
|
instance().frameBuffer().showMessage("Saving log file to " + node.getShortPath());
|
||||||
|
node.write(out);
|
||||||
}
|
}
|
||||||
catch(...)
|
catch(...)
|
||||||
{
|
{
|
||||||
instance().frameBuffer().showMessage("Error savin log file to " + node.getShortPath());
|
instance().frameBuffer().showMessage("Error saving log file to " + node.getShortPath());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue