Fix Animal Crossing Crash

This commit is contained in:
Isaac Marovitz 2024-06-21 16:21:58 +01:00
parent e4fa286698
commit 461933b8cd
No known key found for this signature in database
GPG Key ID: 97250B2B09A132E1
1 changed files with 1 additions and 1 deletions

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);