Packet -> Buffer

This commit is contained in:
thedaneeffect committed 2021-03-12 13:46:05 -05:00
1 parent b3329591f7
commit c30bd0f122
37 files changed
+2369 -2271

No files matched your search

+4 -4
View File
@@ -180,15 +180,15 @@ public class Signlink implements Runnable {
}
}
public static synchronized void midisave(byte[] abyte0, int i) {
if (i > 0x1e8480) {
public static synchronized void midisave(byte[] data, int len) {
if (len > 0x1e8480) {
return;
}
if (savereq != null) {
} else {
midipos = (midipos + 1) % 5;
savelen = i;
savebuf = abyte0;
savelen = len;
savebuf = data;
midiplay = true;
savereq = "jingle" + midipos + ".mid";
}