Unindent `RomLoader.MakeGameFromDisc`
This commit is contained in:
parent
8f153fd503
commit
0236a820ec
|
@ -238,9 +238,8 @@ namespace BizHawk.Client.Common
|
|||
: discHasher.OldHash();
|
||||
|
||||
var game = Database.CheckDatabase(discHash);
|
||||
if (game == null)
|
||||
{
|
||||
// try to use our wizard methods
|
||||
if (game is not null) return game;
|
||||
// else try to use our wizard methods
|
||||
game = new GameInfo { Name = name, Hash = discHash };
|
||||
Exception NoCoreForSystem(string sysID)
|
||||
{
|
||||
|
@ -248,7 +247,6 @@ namespace BizHawk.Client.Common
|
|||
game.System = sysID;
|
||||
return new NoAvailableCoreException(sysID);
|
||||
}
|
||||
|
||||
switch (discType)
|
||||
{
|
||||
case DiscType.SegaSaturn:
|
||||
|
@ -298,7 +296,6 @@ namespace BizHawk.Client.Common
|
|||
game.System = VSystemID.Raw.PSX;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return game;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue