Compare commits
No commits in common. "312afabfdc176e700ebfaa19ef12f8f5d7ffc298" and "2f3effc0870b15c08dfa8efa2ab0c8ddb98709df" have entirely different histories.
312afabfdc
...
2f3effc087
1 changed files with 1 additions and 10 deletions
|
@ -12,7 +12,6 @@ using Avalonia.Threading;
|
||||||
using Microsoft.VisualBasic.CompilerServices;
|
using Microsoft.VisualBasic.CompilerServices;
|
||||||
using Nocksoft.IO.ConfigFiles;
|
using Nocksoft.IO.ConfigFiles;
|
||||||
|
|
||||||
|
|
||||||
namespace PS2_Manager.Core;
|
namespace PS2_Manager.Core;
|
||||||
|
|
||||||
public class Game
|
public class Game
|
||||||
|
@ -32,15 +31,7 @@ public class Game
|
||||||
{
|
{
|
||||||
this.GamePath = isoPath;
|
this.GamePath = isoPath;
|
||||||
this.GameID = ISO.GetSerial(isoPath);
|
this.GameID = ISO.GetSerial(isoPath);
|
||||||
FileInfo fileInfo = new FileInfo(isoPath);
|
this.Icon = new DiscIcon(DiscType.DVD);
|
||||||
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());
|
this.Config = new Config(this.GetConfigPath());
|
||||||
if (!installed)
|
if (!installed)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue