[DatFile, RombaSharp] Fix build errors

This commit is contained in:
Matt Nadareski
2017-10-06 17:49:47 -07:00
parent a401cbebf4
commit 249e64bdbb
2 changed files with 3 additions and 14 deletions

View File

@@ -472,7 +472,7 @@ namespace RombaSharp
private static void AddDatToDatabase(Rom dat, SqliteConnection dbc)
{
// Get the dat full path
string fullpath = Path.Combine(_dats, (dat.Machine.Name == "dats" ? "" : dat.Machine.Name), dat.Name);
string fullpath = Path.Combine(_dats, (dat.MachineName == "dats" ? "" : dat.MachineName), dat.Name);
// Parse the Dat if possible
Globals.Logger.User("Adding from '" + dat.Name + "'");