mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Small fixes.
This commit is contained in:
parent
9ce948e238
commit
07af64feed
2 changed files with 2 additions and 2 deletions
|
|
@ -153,7 +153,7 @@ public unsafe partial class ResourceLoader
|
||||||
// We hook ReadSqPack to redirect rooted files to ReadFile.
|
// We hook ReadSqPack to redirect rooted files to ReadFile.
|
||||||
public delegate byte ReadSqPackPrototype( ResourceManager* resourceManager, SeFileDescriptor* pFileDesc, int priority, bool isSync );
|
public delegate byte ReadSqPackPrototype( ResourceManager* resourceManager, SeFileDescriptor* pFileDesc, int priority, bool isSync );
|
||||||
|
|
||||||
[Signature( "E8 ?? ?? ?? ?? EB 05 E8 ?? ?? ?? ?? 84 C0 0F 84 ?? 00 00 00 4C 8B C3", DetourName = "ReadSqPackDetour" )]
|
[Signature( "E8 ?? ?? ?? ?? EB 05 E8 ?? ?? ?? ?? 84 C0 0F 84 ?? 00 00 00 4C 8B C3", DetourName = nameof(ReadSqPackDetour) )]
|
||||||
public Hook< ReadSqPackPrototype > ReadSqPackHook = null!;
|
public Hook< ReadSqPackPrototype > ReadSqPackHook = null!;
|
||||||
|
|
||||||
private byte ReadSqPackDetour( ResourceManager* resourceManager, SeFileDescriptor* fileDescriptor, int priority, bool isSync )
|
private byte ReadSqPackDetour( ResourceManager* resourceManager, SeFileDescriptor* fileDescriptor, int priority, bool isSync )
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ public sealed partial class Mod
|
||||||
public void ChangeModName( Index idx, string newName )
|
public void ChangeModName( Index idx, string newName )
|
||||||
{
|
{
|
||||||
var mod = this[ idx ];
|
var mod = this[ idx ];
|
||||||
if( mod.Name != newName )
|
if( mod.Name.Text != newName )
|
||||||
{
|
{
|
||||||
var oldName = mod.Name;
|
var oldName = mod.Name;
|
||||||
mod.Name = newName;
|
mod.Name = newName;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue