mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-13 13:20:17 +00:00
Handle stage.Info being null
Hopefully fixes Catherine crash
This commit is contained in:
parent
0f6c8f9cd9
commit
5bf992e083
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||
for (int i = 0; i < stages.Length; i++)
|
||||
{
|
||||
CachedShaderStage stage = stages[i];
|
||||
if (stage != null)
|
||||
if (stage != null && stage.Info != null)
|
||||
{
|
||||
var textures = stage.Info.Textures;
|
||||
var images = stage.Info.Images;
|
||||
|
|
Loading…
Reference in a new issue