// Token: 0x060000C1 RID: 193 RVA: 0x00009788 File Offset: 0x00007988 private static void _load(string filename, int pos) { if (Sound.status != 0) { Cout.LogError("CANNOT LOAD AUDIO " + filename + " WHEN LOADING " + Sound.filenametemp); return; } Sound.filenametemp = filename; Sound.postem = pos; Sound.status = 2; int i; for (i = 0; i < 100; i++) { Thread.Sleep(5); if (Sound.status == 0) { break; } } if (i == 100) { Cout.LogError("TOO LONG FOR LOAD AUDIO " + filename); } else { Cout.Log(string.Concat(new object[] { "Load Audio ", filename, " done in ", i * 5, "ms" })); } }