Add more experimental code

This code can be enabled for local testing by uncommenting and running it in place of the current code. This is the first of  few commits with  similar theme
This commit is contained in:
Matt Nadareski
2016-04-21 23:56:59 -07:00
parent dbbf297263
commit c0930bb11b
4 changed files with 9 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ namespace SabreTools
{ {
private static Logger logger; private static Logger logger;
private static string _dbName = "DATabase.sqlite"; private static string _dbName = "DATabase.sqlite";
//private static string _dbName = "SabreTools.sqlite";
private static string _connectionString = "Data Source=" + _dbName + ";Version = 3;"; private static string _connectionString = "Data Source=" + _dbName + ";Version = 3;";
/// <summary> /// <summary>

View File

@@ -417,6 +417,11 @@ namespace SabreTools
// Try to add the rom with the game information // Try to add the rom with the game information
AddRom(rom, gameid, date, dbc); AddRom(rom, gameid, date, dbc);
/*
// Try to add the romdata
AddHash(rom, sysid, srcid, date, dbc);
*/
} }
} }

View File

@@ -90,6 +90,9 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None> </None>
<None Include="packages.config" /> <None Include="packages.config" />
<None Include="SabreTools.sqlite">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="Mappings\Good.xml"> <Content Include="Mappings\Good.xml">

Binary file not shown.