Skip to content

Commit

Permalink
Fix 0x0140 console output
Browse files Browse the repository at this point in the history
  • Loading branch information
8bitkick committed Nov 19, 2017
1 parent fd92dcb commit f54ec76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PlayUEF.css
Expand Up @@ -27,7 +27,7 @@ body, html { height:100%; width:100%; overflow-y:hidden;overflow-x:hidden; backg
margin: 4px;
font-family: VT323;
font-size: 16pt;
overflow-wrap: break-word;
word-break: break-all;
}

#footer {
Expand Down
2 changes: 1 addition & 1 deletion player.js
Expand Up @@ -81,7 +81,7 @@ function player(wavfile, chunks, UEFNAME, BAUD, SAMPLE_RATE, TEXTFILE) {
case "definedDataBlock":
document.getElementById("console").style.color = "#00aaaa";
var delta = Math.floor((samplepos-chunks[thischunk].timestamp)*bytesPerSample); // how much data to display
var str = chunks[thischunk].slice(delta & 0xfe00,delta);
var str = chunks[thischunk].datastr.slice(delta & 0xfe00,delta);
document.getElementById("console").innerHTML = str+"|";
document.getElementById("header").innerHTML = chunks[thischunk].header;
break;
Expand Down

0 comments on commit f54ec76

Please sign in to comment.