Fix path config on loonix
Somewhere things are being normalized wrong and I don't care to find out where. This is correct and functional on all systems.
This commit is contained in:
parent
db866653c2
commit
481a48fe85
|
@ -1,4 +1,5 @@
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace BizHawk.Client.Common
|
namespace BizHawk.Client.Common
|
||||||
{
|
{
|
||||||
|
@ -6,7 +7,13 @@ namespace BizHawk.Client.Common
|
||||||
{
|
{
|
||||||
public string SystemDisplayName { get; set; }
|
public string SystemDisplayName { get; set; }
|
||||||
public string Type { get; set; }
|
public string Type { get; set; }
|
||||||
public string Path { get; set; }
|
[JsonIgnore]
|
||||||
|
private string _path;
|
||||||
|
public string Path
|
||||||
|
{
|
||||||
|
get => _path;
|
||||||
|
set => _path = value.Replace('\\', '/');
|
||||||
|
}
|
||||||
public string System { get; set; }
|
public string System { get; set; }
|
||||||
public int Ordinal { get; set; }
|
public int Ordinal { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue