diff --git a/src/MeloNX/MeloNX.xcodeproj/project.xcworkspace/xcuserdata/stossy11.xcuserdatad/UserInterfaceState.xcuserstate b/src/MeloNX/MeloNX.xcodeproj/project.xcworkspace/xcuserdata/stossy11.xcuserdatad/UserInterfaceState.xcuserstate index 4adda7241..b27d29355 100644 Binary files a/src/MeloNX/MeloNX.xcodeproj/project.xcworkspace/xcuserdata/stossy11.xcuserdatad/UserInterfaceState.xcuserstate and b/src/MeloNX/MeloNX.xcodeproj/project.xcworkspace/xcuserdata/stossy11.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/src/Ryujinx.Headless.SDL2/Program.cs b/src/Ryujinx.Headless.SDL2/Program.cs index 77cabc9a5..e5566315e 100644 --- a/src/Ryujinx.Headless.SDL2/Program.cs +++ b/src/Ryujinx.Headless.SDL2/Program.cs @@ -1409,17 +1409,15 @@ public unsafe struct GameInfoNative CopyStringToFixedArray(developer, developerPtr, 256); } - if (imageData == null || imageData.Length > 1024 * 1024) + if (imageData == null || imageData.Length > 4096 * 4096) { - throw new ArgumentException("Image data must not exceed 1 MB."); + throw new ArgumentException("Image data must not exceed 4 MB."); } ImageSize = (uint)imageData.Length; - // Allocate unmanaged memory for the image data ImageData = (byte*)Marshal.AllocHGlobal(imageData.Length); - // Copy the image data to the allocated memory Marshal.Copy(imageData, 0, (IntPtr)ImageData, imageData.Length); }