1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 08:03:12 +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] [STAThread]
public static int Main(string[] args) public static int Main(string[] args)
{ {
useMulticoreJit(); if (!RuntimeInfo.IsMono)
useMulticoreJit();
// Back up the cwd before DesktopGameHost changes it // Back up the cwd before DesktopGameHost changes it
var cwd = Environment.CurrentDirectory; var cwd = Environment.CurrentDirectory;
@ -47,6 +48,7 @@ namespace osu.Desktop
break; break;
} }
} }
return 0; return 0;
} }
} }