Improved logfile generation

This commit is contained in:
copy 2017-03-10 12:45:49 -05:00
parent d90003d17f
commit 6a7bcb6886
2 changed files with 2 additions and 2 deletions

View file

@ -1236,7 +1236,7 @@
$("dump_log").onclick = function()
{
dump_file(log_data.join("\n"), "v86.log");
dump_file(log_data, "v86.log");
};
$("dump_instructions_file").onclick = function()

View file

@ -6,7 +6,7 @@ function do_the_log(message)
{
if(LOG_TO_FILE)
{
log_data.push(message);
log_data.push(message, "\n");
}
else
{