Fix Animal Crossing Crash

This commit is contained in:
Isaac Marovitz 2024-06-21 16:21:58 +01:00
parent f84b75f080
commit 67d7419651
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1

View file

@ -46,7 +46,7 @@ namespace Ryujinx.Graphics.Metal
levels.length = (ulong)Info.Levels;
NSRange slices;
slices.location = (ulong)firstLayer;
slices.length = (ulong)Info.Depth;
slices.length = (ulong)info.GetDepthOrLayers();
var swizzle = GetSwizzle(info, pixelFormat);