mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Wrong place
This commit is contained in:
@@ -126,8 +126,8 @@ namespace SabreTools
|
|||||||
userData = RomManipulation.Parse(input.Split('¬')[0], i, 0, userData, _logger);
|
userData = RomManipulation.Parse(input.Split('¬')[0], i, 0, userData, _logger);
|
||||||
i++;
|
i++;
|
||||||
|
|
||||||
// If we are in inplace mode, save the DAT data
|
// If we are in inplace mode or redirecting output, save the DAT data
|
||||||
if (_inplace)
|
if (_inplace || !String.IsNullOrEmpty(_outdir))
|
||||||
{
|
{
|
||||||
datHeaders.Add(new DatData
|
datHeaders.Add(new DatData
|
||||||
{
|
{
|
||||||
@@ -370,7 +370,7 @@ namespace SabreTools
|
|||||||
|
|
||||||
// If we have an output directory set, replace the path
|
// If we have an output directory set, replace the path
|
||||||
string path = "";
|
string path = "";
|
||||||
if (_inplace || !String.IsNullOrEmpty(_outdir))
|
if (_inplace)
|
||||||
{
|
{
|
||||||
path = Path.GetDirectoryName(_inputs[j].Split('¬')[0]);
|
path = Path.GetDirectoryName(_inputs[j].Split('¬')[0]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user