Skip to content

Commit c71cfc4

Browse files
committed
Minor: Also print a compatility warning if PowerMode2003 is encountered.
1 parent 4f721cf commit c71cfc4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/player.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,12 @@ void Player::CreateGameObjects() {
840840
Output::Warning("This game uses Power Patch and might not run properly.");
841841
}
842842

843+
// PowerMode2003 can be detected via the existence of the files "hvm.dll", "fmodex.dll" &
844+
// "warp.dll", but some games seem to only ship with the latter of the three.
845+
if (!FileFinder::Game().FindFile("warp.dll").empty()) {
846+
Output::Warning("This game uses Power Mode 2003 and might not run properly.");
847+
}
848+
843849
/*if (game_config.patch_key_patch.Get()) {
844850
auto exe_util_types = Utils::MakeSvArray(".exe", ".dll", ".dat");
845851
auto exe_util_names = Utils::MakeSvArray("ppcomp", "sfx");

0 commit comments

Comments
 (0)