mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-10 22:01:52 +09:00
adding kotlin-test to dependencies
This commit is contained in:
@@ -391,14 +391,18 @@ public class App implements ApplicationListener {
|
||||
processorVendor = "Unknown CPU";
|
||||
}
|
||||
|
||||
if (processor.startsWith("Apple M") && systemArch.equals("aarch64")) {
|
||||
if (processor != null && processor.startsWith("Apple M") && systemArch.equals("aarch64")) {
|
||||
isAppleM = true;
|
||||
System.out.println("Apple Proprietary "+processor+" detected; don't expect smooth sailing...");
|
||||
}
|
||||
if (processor.startsWith("Apple M") && !systemArch.equals("aarch64")) {
|
||||
if (processor != null && processor.startsWith("Apple M") && !systemArch.equals("aarch64")) {
|
||||
undesirableConditions = "apple_execution_through_rosetta";
|
||||
}
|
||||
|
||||
if (processor == null) {
|
||||
processor = "null";
|
||||
}
|
||||
|
||||
if (!IS_DEVELOPMENT_BUILD) {
|
||||
var p = UnsafeHelper.INSTANCE.allocate(64);
|
||||
p.destroy();
|
||||
|
||||
@@ -77,7 +77,8 @@ class TerrarumAudioMixerTrack(
|
||||
throw IllegalArgumentException("Cannot add master track as a sidechain")
|
||||
|
||||
if (sidechainInputs.map { it.first }.any { it.hash == input.hash })
|
||||
throw IllegalArgumentException("The track '${input.hash}' already exists")
|
||||
//throw IllegalArgumentException("The track '${input.hash}' already exists")
|
||||
return
|
||||
|
||||
if (getSidechains().any { mySidechain ->
|
||||
val theirSidechains = mySidechain?.getSidechains()
|
||||
|
||||
Reference in New Issue
Block a user