Improved logfile generation
This commit is contained in:
parent
d90003d17f
commit
6a7bcb6886
|
@ -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()
|
||||
|
|
|
@ -6,7 +6,7 @@ function do_the_log(message)
|
|||
{
|
||||
if(LOG_TO_FILE)
|
||||
{
|
||||
log_data.push(message);
|
||||
log_data.push(message, "\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue