offset the hitdata by 50ms

This commit is contained in:
yugecin 2018-04-14 18:36:59 +02:00
parent 29640a4ef7
commit f398b961d7

View File

@ -322,6 +322,7 @@ public class ReplayPlayback {
} }
byte[] _time = { time[3], time[2], time[1], time[0] }; byte[] _time = { time[3], time[2], time[1], time[0] };
lasttime = ByteBuffer.wrap(_time).getInt(); lasttime = ByteBuffer.wrap(_time).getInt();
lasttime -= 50;
int type = in.read(); int type = in.read();
if (type == -1) { if (type == -1) {
throw new RuntimeException(); throw new RuntimeException();