mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
Fix MT shader descriptors path
This commit is contained in:
parent
a875a4ddd9
commit
9af7f1c0d0
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ using System.Collections.Generic;
|
|||
using System.IO;
|
||||
using System.Text;
|
||||
using Toolbox.Library.Security.Cryptography;
|
||||
using Toolbox.Library;
|
||||
|
||||
namespace CafeLibrary.M2
|
||||
{
|
||||
|
@ -26,7 +27,7 @@ namespace CafeLibrary.M2
|
|||
attGroups = new Dictionary<uint, Shader.AttributeGroup>();
|
||||
|
||||
|
||||
foreach (var file in Directory.GetFiles(Path.Combine("Lib", "MTVertexFormats")))
|
||||
foreach (var file in Directory.GetFiles(Path.Combine(Runtime.ExecutableDir, "Lib", "MTVertexFormats")))
|
||||
{
|
||||
LoadPresets(file);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue