Removed SoundTrack debug code. Changed the amount of animations that load.

This commit is contained in:
thedaneeffect committed 2021-06-22 07:25:31 -04:00
1 parent bb8fa3c5e0
commit 1e5534aef0
2 files changed
+3 -7

No files matched your search

+3 -1
View File
@@ -693,7 +693,9 @@ public class Game extends GameShell {
int total = ondemand.getFileCount(1);
for (int i = 0; i < total; i++) {
ondemand.request(1, i);
if (ondemand.animIndex[i] != 0) {
ondemand.request(1, i);
}
}
while (ondemand.remaining() > 0) {
-6
View File
@@ -27,12 +27,6 @@ public class SoundTrack {
tracks[id].read(src);
int end = src.position;
try (OutputStream out = Files.newOutputStream(Paths.get(String.format("377_synth/%d.synth", id)))) {
out.write(src.data, start, end - start);
} catch (IOException e) {
e.printStackTrace();
}
delays[id] = tracks[id].trim();
} while (true);
}