diff options
author | Lunar Journal <md.node.0@gmail.com> | 2025-01-13 18:09:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-13 18:09:20 +0200 |
commit | 6950c3975ea78f6b15c0d61f34c205d93975ac3b (patch) | |
tree | a61294a2c71165feac4fa626c6eea9f5d2541044 /emu8910.js | |
parent | ab3220e49652a96350a7592cb485dc49859a6b8e (diff) | |
download | emu8910-6950c3975ea78f6b15c0d61f34c205d93975ac3b.tar.gz emu8910-6950c3975ea78f6b15c0d61f34c205d93975ac3b.zip |
Update emu8910.js
Diffstat (limited to 'emu8910.js')
-rw-r--r-- | emu8910.js | 18 |
1 files changed, 1 insertions, 17 deletions
@@ -189,23 +189,7 @@ class AudioDriver { this.bias = 0; } } -var PSG49_LUT; -(function (PSG49_LUT) { - PSG49_LUT[PSG49_LUT["A_FINE"] = 0] = "A_FINE"; - PSG49_LUT[PSG49_LUT["A_COARSE"] = 1] = "A_COARSE"; - PSG49_LUT[PSG49_LUT["B_FINE"] = 2] = "B_FINE"; - PSG49_LUT[PSG49_LUT["B_COARSE"] = 3] = "B_COARSE"; - PSG49_LUT[PSG49_LUT["C_FINE"] = 4] = "C_FINE"; - PSG49_LUT[PSG49_LUT["C_COARSE"] = 5] = "C_COARSE"; - PSG49_LUT[PSG49_LUT["NOISE_PERIOD"] = 6] = "NOISE_PERIOD"; - PSG49_LUT[PSG49_LUT["MIXER"] = 7] = "MIXER"; - PSG49_LUT[PSG49_LUT["A_VOL"] = 8] = "A_VOL"; - PSG49_LUT[PSG49_LUT["B_VOL"] = 9] = "B_VOL"; - PSG49_LUT[PSG49_LUT["C_VOL"] = 10] = "C_VOL"; - PSG49_LUT[PSG49_LUT["ENV_FINE"] = 11] = "ENV_FINE"; - PSG49_LUT[PSG49_LUT["ENV_COARSE"] = 12] = "ENV_COARSE"; - PSG49_LUT[PSG49_LUT["ENV_SHAPE"] = 13] = "ENV_SHAPE"; -})(PSG49_LUT || (PSG49_LUT = {})); + class PSG49 { constructor(clockRate, intRate) { // main register file |