Skip to content

Commit

Permalink
Keep track of cover art source.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyco committed Dec 30, 2013
1 parent 99d099f commit f896aa7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions OpenEmu/OEDBGame.m
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,9 @@ - (void)performInfoSync
{
NSString *normalizedURL = [[result objectForKey:boxImageURLKey] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSURL *url = [NSURL URLWithString:normalizedURL];
NSImage *image = [[NSImage alloc] initWithContentsOfURL:url];

if(image)
{
[result removeObjectForKey:boxImageURLKey];
[self setBoxImageByImage:image];
}
[self setBoxImageByURL:url];
}


if(result != nil)
{
[self setValuesForKeysWithDictionary:result];
Expand Down

0 comments on commit f896aa7

Please sign in to comment.