A few bugs fixed in debug.html.

This commit is contained in:
antirez 2013-01-27 21:42:40 +01:00
parent e9e07e0778
commit 13596ba3dd

View file

@ -4,7 +4,7 @@
<head> <head>
<script> <script>
var frames = []; var frames = [];
var currentFrame = 144; var currentFrame = 0;
var modes_checksum_table = [ var modes_checksum_table = [
0x3935ea, 0x1c9af5, 0xf1b77e, 0x78dbbf, 0xc397db, 0x9e31e9, 0xb0e2f0, 0x587178, 0x3935ea, 0x1c9af5, 0xf1b77e, 0x78dbbf, 0xc397db, 0x9e31e9, 0xb0e2f0, 0x587178,
@ -140,11 +140,6 @@ window.onload = function() {
if (currentFrame != 0) currentFrame--; if (currentFrame != 0) currentFrame--;
displayFrame(currentFrame); displayFrame(currentFrame);
} }
document.getElementById("ca").onclick = function() {
correctAmplitude(frames[currentFrame]);
recomputeHex(frames[currentFrame]);
displayFrame(currentFrame);
}
document.getElementById("re").onclick = function() { document.getElementById("re").onclick = function() {
recomputeHex(frames[currentFrame]); recomputeHex(frames[currentFrame]);
displayFrame(currentFrame); displayFrame(currentFrame);