mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-08 10:10:00 +00:00
* Main.cs: * Main.cs: Fixed a potential index out of range exception
when setting dirName (output path).
This commit is contained in:
parent
f692a3c069
commit
e079daa6cc
|
@ -88,7 +88,7 @@ namespace Bind
|
||||||
mode = GeneratorMode.CL10;
|
mode = GeneratorMode.CL10;
|
||||||
else
|
else
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
if (b.Length > 1)
|
if (b.Length > 2)
|
||||||
dirName = b[2];
|
dirName = b[2];
|
||||||
break;
|
break;
|
||||||
case "namespace":
|
case "namespace":
|
||||||
|
|
Loading…
Reference in a new issue