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:
nattthebear 2020-06-08 16:59:04 -04:00
parent db866653c2
commit 481a48fe85
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,5 @@
using System.Linq;
using Newtonsoft.Json;
namespace BizHawk.Client.Common
{
@ -6,7 +7,13 @@ namespace BizHawk.Client.Common
{
public string SystemDisplayName { 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 int Ordinal { get; set; }