Skip to content

Commit

Permalink
Run formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bfirsh committed Sep 22, 2021
1 parent c395fe6 commit e3c70ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/nes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions src/papu.js
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ ChannelDM.prototype = {
"reg4013",
"sample",
"dacLsb",
"data"
"data",
],

toJSON: function () {
Expand Down Expand Up @@ -1142,7 +1142,7 @@ ChannelNoise.prototype = {
"sampleValue",
"accValue",
"accCount",
"tmp"
"tmp",
],

toJSON: function () {
Expand Down

0 comments on commit e3c70ea

Please sign in to comment.