diff options
author | Shihta Kuan <Shihta@users.noreply.github.com> | 2023-06-25 20:49:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-25 14:49:53 +0200 |
commit | e3bacfa77481738aabee5f8b8be3f8ff91132c43 (patch) | |
tree | de8710b1ce1a2f55c23415c7f4aa948c71d5cbc9 | |
parent | 7c2f07d12458ce6d2ee9c98f78d56ec8b20762bb (diff) |
Set COMPlus_DefaultStackSize to 2M in macOS (#5349)1.1.911
* Set COMPlus_DefaultStackSize to 2M in macOS
* Remove the custom thread stack size on Ryujinx.Ava
-rw-r--r-- | distribution/macos/Info.plist | 7 | ||||
-rw-r--r-- | src/Ryujinx.Ava/AppHost.cs | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/distribution/macos/Info.plist b/distribution/macos/Info.plist index 6c3f7717..968814f9 100644 --- a/distribution/macos/Info.plist +++ b/distribution/macos/Info.plist @@ -39,10 +39,15 @@ <key>CSResourcesFileMapped</key> <true/> <key>NSHumanReadableCopyright</key> - <string>Copyright © 2018 - 2022 Ryujinx Team and Contributors.</string> + <string>Copyright © 2018 - 2023 Ryujinx Team and Contributors.</string> <key>LSApplicationCategoryType</key> <string>public.app-category.games</string> <key>LSMinimumSystemVersion</key> <string>11.0</string> + <key>LSEnvironment</key> + <dict> + <key>COMPlus_DefaultStackSize</key> + <string>200000</string> + </dict> </dict> </plist> diff --git a/src/Ryujinx.Ava/AppHost.cs b/src/Ryujinx.Ava/AppHost.cs index d3e0ea39..a2571379 100644 --- a/src/Ryujinx.Ava/AppHost.cs +++ b/src/Ryujinx.Ava/AppHost.cs @@ -134,7 +134,7 @@ namespace Ryujinx.Ava _inputManager = inputManager; _accountManager = accountManager; _userChannelPersistence = userChannelPersistence; - _renderingThread = new Thread(RenderLoop, 1 * 1024 * 1024) { Name = "GUI.RenderThread" }; + _renderingThread = new Thread(RenderLoop) { Name = "GUI.RenderThread" }; _lastCursorMoveTime = Stopwatch.GetTimestamp(); _glLogLevel = ConfigurationState.Instance.Logger.GraphicsDebugLevel; _topLevel = topLevel; |