mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Ensure csv column counts are consistent
This commit is contained in:
parent
cb8b088487
commit
8d5e24d061
3 changed files with 3 additions and 2 deletions
|
@ -392,6 +392,7 @@ namespace LibHacBuild.CodeGen
|
|||
using (var csv = new CsvReader(new StreamReader(GetResource(name)), CultureInfo.InvariantCulture))
|
||||
{
|
||||
csv.Configuration.AllowComments = true;
|
||||
csv.Configuration.DetectColumnCountChanges = true;
|
||||
|
||||
if (typeof(T) == typeof(ResultInfo))
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ Module,DescriptionStart,DescriptionEnd,Name,Summary
|
|||
2,0,999,HandledByAllProcess,
|
||||
2,1,,PathNotFound,Specified path does not exist
|
||||
2,2,,PathAlreadyExists,Specified path already exists
|
||||
2,7,,TargetLocked,Resource already in use (file already opened, savedata filesystem already mounted)
|
||||
2,7,,TargetLocked,"Resource already in use (file already opened, savedata filesystem already mounted)"
|
||||
2,8,,DirectoryNotEmpty,Specified directory is not empty when trying to delete it
|
||||
2,13,,DirectoryStatusChanged,
|
||||
|
||||
|
|
|
|
@ -23,7 +23,7 @@ namespace LibHac.Fs
|
|||
public static Result.Base PathNotFound => new Result.Base(ModuleFs, 1);
|
||||
/// <summary>Specified path already exists<br/>Error code: 2002-0002; Inner value: 0x402</summary>
|
||||
public static Result.Base PathAlreadyExists => new Result.Base(ModuleFs, 2);
|
||||
/// <summary>Resource already in use (file already opened<br/>Error code: 2002-0007; Inner value: 0xe02</summary>
|
||||
/// <summary>Resource already in use (file already opened, savedata filesystem already mounted)<br/>Error code: 2002-0007; Inner value: 0xe02</summary>
|
||||
public static Result.Base TargetLocked => new Result.Base(ModuleFs, 7);
|
||||
/// <summary>Specified directory is not empty when trying to delete it<br/>Error code: 2002-0008; Inner value: 0x1002</summary>
|
||||
public static Result.Base DirectoryNotEmpty => new Result.Base(ModuleFs, 8);
|
||||
|
|
Loading…
Reference in a new issue