summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLunar Journal <md.node.0@gmail.com>2023-09-06 17:00:45 +0200
committerGitHub <noreply@github.com>2023-09-06 17:00:45 +0200
commitac51a6dcf0952c477ee62e544df1daa6aa5c16ef (patch)
treed45e4b1bed56a3115a4bd2df8271ef2d7e59d56e
parent9f015f7fb6b7f62fd1d1a18989b17dc61e3f90df (diff)
downloademu8910-ac51a6dcf0952c477ee62e544df1daa6aa5c16ef.tar.gz
emu8910-ac51a6dcf0952c477ee62e544df1daa6aa5c16ef.zip
emu8910: parser: Update module list.
Update song list for new FYM module.
-rw-r--r--parser.js14
1 files changed, 2 insertions, 12 deletions
diff --git a/parser.js b/parser.js
index cec30c0..304cb0f 100644
--- a/parser.js
+++ b/parser.js
@@ -2,20 +2,10 @@
var song;
var emu8910 = new PSG49(YM_CLOCK_ZX, 50);
- Array.prototype.shuffle = function() {
- var m = this.length, t, i;
- while(m) {
- i = Math.floor(Math.random() * m--);
- t = this[m];
- this[m] = this[i];
- this[i] = t;
- }
- return this;
- }
-
var songs = [
+ "18_soundliner.fym",
"01_scalesmannmisfire.fym"
- ].shuffle();
+ ];
var currentSong = 0;