From 8ecf7e2381d3727bb59efa8594dcfd3b87a98511 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Wed, 22 Jun 2022 11:56:01 +0200 Subject: [PATCH] Change return value of LoadTimelineResources --- Penumbra/Interop/Resolver/PathResolver.Animation.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Penumbra/Interop/Resolver/PathResolver.Animation.cs b/Penumbra/Interop/Resolver/PathResolver.Animation.cs index 1d51b8df..604b40af 100644 --- a/Penumbra/Interop/Resolver/PathResolver.Animation.cs +++ b/Penumbra/Interop/Resolver/PathResolver.Animation.cs @@ -10,16 +10,16 @@ public unsafe partial class PathResolver { private ModCollection? _animationLoadCollection; - public delegate byte LoadTimelineResourcesDelegate( IntPtr timeline ); + public delegate ulong LoadTimelineResourcesDelegate( IntPtr timeline ); // The timeline object loads the requested .tmb and .pap files. The .tmb files load the respective .avfx files. // We can obtain the associated game object from the timelines 28'th vfunc and use that to apply the correct collection. [Signature( "E8 ?? ?? ?? ?? 83 7F ?? ?? 75 ?? 0F B6 87", DetourName = nameof( LoadTimelineResourcesDetour ) )] public Hook< LoadTimelineResourcesDelegate >? LoadTimelineResourcesHook; - private byte LoadTimelineResourcesDetour( IntPtr timeline ) + private ulong LoadTimelineResourcesDetour( IntPtr timeline ) { - byte ret; + ulong ret; var old = _animationLoadCollection; try {