GenArray: Create output directory if it doesn't exist
This commit is contained in:
parent
fbec10052c
commit
c89f982527
1 changed files with 5 additions and 0 deletions
|
@ -182,6 +182,11 @@ namespace Ryujinx.CustomTasks
|
||||||
string arraysFilePath = Path.Combine(OutputPath, ArraysFileName);
|
string arraysFilePath = Path.Combine(OutputPath, ArraysFileName);
|
||||||
List<int> arraySizes = new List<int>();
|
List<int> arraySizes = new List<int>();
|
||||||
|
|
||||||
|
if (!Directory.Exists(OutputPath))
|
||||||
|
{
|
||||||
|
Directory.CreateDirectory(OutputPath);
|
||||||
|
}
|
||||||
|
|
||||||
foreach (var item in InputFiles)
|
foreach (var item in InputFiles)
|
||||||
{
|
{
|
||||||
string fullPath = item.GetMetadata("FullPath");
|
string fullPath = item.GetMetadata("FullPath");
|
||||||
|
|
Loading…
Reference in a new issue