1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00

Do not use Multicore JIT on Mono

This commit is contained in:
TocoToucan 2018-01-24 22:07:14 +03:00 committed by Dean Herbert
parent ed99f26699
commit 714d7b4477

View File

@ -16,7 +16,8 @@ namespace osu.Desktop
[STAThread]
public static int Main(string[] args)
{
useMulticoreJit();
if (!RuntimeInfo.IsMono)
useMulticoreJit();
// Back up the cwd before DesktopGameHost changes it
var cwd = Environment.CurrentDirectory;
@ -47,6 +48,7 @@ namespace osu.Desktop
break;
}
}
return 0;
}
}