mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-16 08:36:07 +09:00
music looping is now processed by the MusicContainer
This commit is contained in:
@@ -143,7 +143,7 @@ class MusicContainer(
|
|||||||
val fullCopyCounts = remainder / totalSizeInBytes
|
val fullCopyCounts = remainder / totalSizeInBytes
|
||||||
val partialCopyCountsInBytes = (remainder % totalSizeInBytes).toInt()
|
val partialCopyCountsInBytes = (remainder % totalSizeInBytes).toInt()
|
||||||
|
|
||||||
var start = UnsafeHelper.getArrayOffset(buffer).toInt() + bytesRead
|
var start = bytesRead
|
||||||
|
|
||||||
val fullbuf = ByteArray(totalSizeInBytes.toInt())
|
val fullbuf = ByteArray(totalSizeInBytes.toInt())
|
||||||
// make full block copies
|
// make full block copies
|
||||||
|
|||||||
Reference in New Issue
Block a user