mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-21 15:27:51 +01:00
More sophisticated fix against E4S crashes with working mods in E4S.
This commit is contained in:
parent
a1f02975cb
commit
f601812666
13 changed files with 273 additions and 210 deletions
|
|
@ -165,7 +165,6 @@ public partial class SettingsInterface
|
|||
manager.TempPath != null ? Directory.Exists( manager.TempPath.FullName ).ToString() : false.ToString() );
|
||||
PrintValue( "Mod Manager Temp Path IsWritable", manager.TempWritable.ToString() );
|
||||
PrintValue( "Resource Loader Enabled", _penumbra.ResourceLoader.IsEnabled.ToString() );
|
||||
PrintValue( "Resource Loader Hacks Enabled", _penumbra.ResourceLoader.HacksEnabled.ToString() );
|
||||
}
|
||||
|
||||
private void DrawDebugTabRedraw()
|
||||
|
|
@ -298,7 +297,6 @@ public partial class SettingsInterface
|
|||
ImGui.TableNextColumn();
|
||||
ImGui.Text( file );
|
||||
ImGui.TableNextColumn();
|
||||
info.CurrentFile?.Refresh();
|
||||
ImGui.Text( info.CurrentFile?.Exists ?? false ? "Exists" : "Missing" );
|
||||
ImGui.TableNextColumn();
|
||||
ImGui.Text( info.Changed ? "Data Changed" : "Unchanged" );
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ namespace Penumbra.UI
|
|||
}
|
||||
}
|
||||
|
||||
private bool CheckFilters( KeyValuePair< GamePath, FileInfo > kvp )
|
||||
private bool CheckFilters( KeyValuePair< GamePath, FullPath > kvp )
|
||||
{
|
||||
if( _gamePathFilter.Any() && !kvp.Key.ToString().Contains( _gamePathFilterLower ) )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ namespace Penumbra.UI
|
|||
private Option? _selectedOption;
|
||||
private string _currentGamePaths = "";
|
||||
|
||||
private (FileInfo name, bool selected, uint color, RelPath relName)[]? _fullFilenameList;
|
||||
private (FullPath name, bool selected, uint color, RelPath relName)[]? _fullFilenameList;
|
||||
|
||||
private readonly Selector _selector;
|
||||
private readonly SettingsInterface _base;
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ public partial class SettingsInterface
|
|||
|
||||
using var raii = ImGuiRaii.DeferredEnd( ImGui.EndTabItem );
|
||||
|
||||
var resourceHandler = *( ResourceManager** )( Dalamud.SigScanner.Module.BaseAddress + 0x1E5B440 );
|
||||
var resourceHandler = *( ResourceManager** )( Dalamud.SigScanner.Module.BaseAddress + 0x1E603C0 );
|
||||
|
||||
if( resourceHandler == null )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue