fix style

This commit is contained in:
emmaus 2018-11-18 07:34:24 +00:00
commit 452564aed2

View file

@ -20,8 +20,7 @@ namespace Ryujinx.HLE.FileSystem.Content
public ContentManager(Switch Device) public ContentManager(Switch Device)
{ {
ContentDictionary = new SortedDictionary<(ulong, ContentType), string>(); ContentDictionary = new SortedDictionary<(ulong, ContentType), string>();
LocationEntries = new Dictionary<StorageId, LinkedList<LocationEntry>>();
LocationEntries = new Dictionary<StorageId, LinkedList<LocationEntry>>();
SharedFontTitleDictionary = new Dictionary<string, long>() SharedFontTitleDictionary = new Dictionary<string, long>()
{ {
@ -48,9 +47,8 @@ namespace Ryujinx.HLE.FileSystem.Content
try try
{ {
ContentPathString = LocationHelper.GetContentRoot(StorageId); ContentPathString = LocationHelper.GetContentRoot(StorageId);
ContentDirectory = LocationHelper.GetRealPath(Device.FileSystem, ContentPathString); ContentDirectory = LocationHelper.GetRealPath(Device.FileSystem, ContentPathString);
RegisteredDirectory = Path.Combine(ContentDirectory, "registered"); RegisteredDirectory = Path.Combine(ContentDirectory, "registered");
} }
catch (NotSupportedException NEx) catch (NotSupportedException NEx)
@ -87,7 +85,6 @@ namespace Ryujinx.HLE.FileSystem.Content
0, 0,
(long)Nca.Header.TitleId, (long)Nca.Header.TitleId,
Nca.Header.ContentType); Nca.Header.ContentType);
AddEntry(Entry); AddEntry(Entry);