Skip to content

Commit

Permalink
don't use trailing comma instead of semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
copy committed Jul 1, 2024
1 parent 5fbad6c commit 904da13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vga.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ function VGAScreen(cpu, bus, vga_memory_size)
this.clocking_mode = 0;
this.graphics_index = -1;

this.plane_read = 0, // value 0-3, which plane to read
this.plane_read = 0; // value 0-3, which plane to read
this.planar_mode = 0;
this.planar_rotate_reg = 0;
this.planar_bitmap = 0xFF;
Expand Down Expand Up @@ -945,7 +945,7 @@ VGAScreen.prototype.update_cursor = function()

if(this.cursor_address >= this.start_address)
{
row = (this.cursor_address - this.start_address) / max_cols | 0,
row = (this.cursor_address - this.start_address) / max_cols | 0;
col = (this.cursor_address - this.start_address) % max_cols;
}
else
Expand Down

0 comments on commit 904da13

Please sign in to comment.