Browse Source

Fixed a bug in NESNameTable where attribute table was being loaded incorrectly.

dev
Bryan Miller 5 years ago
parent
commit
90bcc6fa99
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      app/js/models/NESNameTable.js

+ 4
- 4
app/js/models/NESNameTable.js View File

@@ -17,10 +17,10 @@ function CompileAttribs(attrib){

function DecompileAttribs(v){
return [
v & 0x00000011,
(v & 0x00001100) >> 2,
(v & 0x00110000) >> 4,
(v & 0x11000000) >> 6
v & 0b00000011,
(v & 0b00001100) >> 2,
(v & 0b00110000) >> 4,
(v & 0b11000000) >> 6
];
}


Loading…
Cancel
Save