diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-10-31 01:39:37 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-10-31 01:39:37 +0100 |
commit | f39a83edc6b1de3f99eaf2c1cfc409f50a1df1b2 (patch) | |
tree | 757bca522a72787b8592e1e29cc16ad962b32c96 /logic/LegacyInstance.cpp | |
parent | 44823324f9f489adf957a459bac5dd4d0693e85e (diff) | |
download | MultiMC-f39a83edc6b1de3f99eaf2c1cfc409f50a1df1b2.tar MultiMC-f39a83edc6b1de3f99eaf2c1cfc409f50a1df1b2.tar.gz MultiMC-f39a83edc6b1de3f99eaf2c1cfc409f50a1df1b2.tar.lz MultiMC-f39a83edc6b1de3f99eaf2c1cfc409f50a1df1b2.tar.xz MultiMC-f39a83edc6b1de3f99eaf2c1cfc409f50a1df1b2.zip |
Hack for Intel graphics drivers on Windows.
Diffstat (limited to 'logic/LegacyInstance.cpp')
-rw-r--r-- | logic/LegacyInstance.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp index f741caad..2fd18693 100644 --- a/logic/LegacyInstance.cpp +++ b/logic/LegacyInstance.cpp @@ -74,6 +74,15 @@ MinecraftProcess *LegacyInstance::prepareForLaunch(LoginResponse response) args << QString("-Xms%1m").arg(settings().get("MinMemAlloc").toInt()); args << QString("-Xmx%1m").arg(settings().get("MaxMemAlloc").toInt()); args << QString("-XX:PermSize=%1m").arg(settings().get("PermGen").toInt()); +/** +* HACK: Stupid hack for Intel drivers. +* See: https://mojang.atlassian.net/browse/MCL-767 +*/ +#ifdef Q_OS_WIN32 + args << QString("-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_" + "minecraft.exe.heapdump"); +#endif + args << "-jar" << LAUNCHER_FILE; args << response.player_name; args << response.session_id; |