From 0b9a48a485c3f9ee02965c3016855aa7e9c514eb Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Wed, 11 May 2022 20:57:52 +0200 Subject: [PATCH] Maybe fix a weird debugging crash? --- Penumbra/Interop/Loader/ResourceLoader.Debug.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Penumbra/Interop/Loader/ResourceLoader.Debug.cs b/Penumbra/Interop/Loader/ResourceLoader.Debug.cs index 3be1b0ec..41ba6c48 100644 --- a/Penumbra/Interop/Loader/ResourceLoader.Debug.cs +++ b/Penumbra/Interop/Loader/ResourceLoader.Debug.cs @@ -47,7 +47,7 @@ public unsafe partial class ResourceLoader private void AddModifiedDebugInfo( Structs.ResourceHandle* handle, Utf8GamePath originalPath, FullPath? manipulatedPath, object? resolverInfo ) { - if( manipulatedPath == null ) + if( manipulatedPath == null || manipulatedPath.Value.Crc64 == 0 ) { return; }