Skip to content

Commit

Permalink
Added support for Game Pass exe of Persona 4 Golden due to exe name p…
Browse files Browse the repository at this point in the history
…4pc_DT_mc.exe
  • Loading branch information
Berkay Demirci committed Nov 26, 2023
1 parent 09511a1 commit c00d7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Emulator/BF.File.Emulator/Mod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public Mod(ModContext context)
var fileName = Path.GetFileName(mainModule.FileName);
if (fileName.StartsWith("p5r", StringComparison.OrdinalIgnoreCase))
_game = Game.P5R;
else if (fileName.StartsWith("p4g", StringComparison.OrdinalIgnoreCase))
else if (fileName.StartsWith("p4g", StringComparison.OrdinalIgnoreCase) || fileName.StartsWith("p4pc_DT_mc", StringComparison.OrdinalIgnoreCase))
_game = Game.P4G;
else if (fileName.StartsWith("p3p", StringComparison.OrdinalIgnoreCase))
_game = Game.P3P;
Expand Down

0 comments on commit c00d7db

Please sign in to comment.