diff --git a/src/nes.js b/src/nes.js index 3fee84e..1cdd30c 100644 --- a/src/nes.js +++ b/src/nes.js @@ -57,8 +57,8 @@ NES.prototype = { break: false, // Set break to true to stop frame loop. - stop: function() { - this.break = true; + stop: function () { + this.break = true; }, // Resets the system @@ -85,7 +85,7 @@ NES.prototype = { var ppu = this.ppu; var papu = this.papu; FRAMELOOP: for (;;) { - if(this.break) break; + if (this.break) break; if (cpu.cyclesToHalt === 0) { // Execute a CPU instruction cycles = cpu.emulate(); diff --git a/src/papu.js b/src/papu.js index 16a8b55..2579eb8 100644 --- a/src/papu.js +++ b/src/papu.js @@ -986,7 +986,7 @@ ChannelDM.prototype = { "reg4013", "sample", "dacLsb", - "data" + "data", ], toJSON: function () { @@ -1142,7 +1142,7 @@ ChannelNoise.prototype = { "sampleValue", "accValue", "accCount", - "tmp" + "tmp", ], toJSON: function () {