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:
parent
ed99f26699
commit
714d7b4477
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user