Skip to content

Commit

Permalink
Removed GameTDB hash test
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyWolfSC committed Jul 21, 2015
1 parent 1154b60 commit a03aeb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion GCVerify/Data/GameTDB.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ static class GameTDB
{
static XDocument doc;
static Dictionary<string, string> titles;
static string _dataPath;

public static async Task Open(string dataPath)
{
_dataPath = dataPath;

await Task.Run(() =>
{
var dbPath = Path.Combine(dataPath, "wiitdb.zip");
Expand Down Expand Up @@ -104,7 +107,7 @@ public static ImageSource GetCover(string titleId)
if (!Directory.Exists("covers"))
Directory.CreateDirectory("covers");

var filePath = Path.Combine(Environment.CurrentDirectory, string.Format(@"covers\{0}.png", titleId));
var filePath = Path.Combine(_dataPath, string.Format(@"covers\{0}.png", titleId));
if (!File.Exists(filePath))
{
var uri = string.Format("http://art.gametdb.com/wii/cover/{0}/{1}.png", "US", titleId);
Expand Down
4 changes: 2 additions & 2 deletions GCVerify/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyVersion("1.1.1.0")]
[assembly: AssemblyFileVersion("1.1.1.0")]

0 comments on commit a03aeb1

Please sign in to comment.