mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-05 14:12:33 -07:00
Fix Animal Crossing Crash
This commit is contained in:
committed by
Isaac Marovitz
parent
97a36298fa
commit
e7fab91c69
@@ -46,7 +46,7 @@ namespace Ryujinx.Graphics.Metal
|
|||||||
levels.length = (ulong)Info.Levels;
|
levels.length = (ulong)Info.Levels;
|
||||||
NSRange slices;
|
NSRange slices;
|
||||||
slices.location = (ulong)firstLayer;
|
slices.location = (ulong)firstLayer;
|
||||||
slices.length = (ulong)Info.Depth;
|
slices.length = (ulong)info.GetDepthOrLayers();
|
||||||
|
|
||||||
var swizzle = GetSwizzle(info, pixelFormat);
|
var swizzle = GetSwizzle(info, pixelFormat);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user