mirror of https://github.com/Ryujinx/Ryujinx.git
Fix Animal Crossing Crash
This commit is contained in:
parent
386f9b00a9
commit
c92b74e376
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue