displays difference between dvds and cds
This commit is contained in:
parent
55adc6c2a9
commit
1ae4690d0d
1 changed files with 9 additions and 1 deletions
|
@ -31,7 +31,15 @@ public class Game
|
|||
{
|
||||
this.GamePath = isoPath;
|
||||
this.GameID = ISO.GetSerial(isoPath);
|
||||
FileInfo fileInfo = new FileInfo(isoPath);
|
||||
if (fileInfo.Length < 1_000_000_000)
|
||||
{
|
||||
this.Icon = new DiscIcon(DiscType.CD);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Icon = new DiscIcon(DiscType.DVD);
|
||||
}
|
||||
this.Config = new Config(this.GetConfigPath());
|
||||
if (!installed)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue