Skip to content

Commit 6911bda

Browse files
committed
Minor: Also print a compatility warning if PowerMode2003 is encountered.
1 parent 8b1aaf5 commit 6911bda

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/player.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,12 @@ void Player::CreateGameObjects() {
832832
Output::Warning("This game uses Power Patch and might not run properly.");
833833
}
834834

835+
// PowerMode2003 can be detected via the existence of the files "hvm.dll", "fmodex.dll" &
836+
// "warp.dll", but some games seem to only ship with the latter of the three.
837+
if (!FileFinder::Game().FindFile("warp.dll").empty()) {
838+
Output::Warning("This game uses Power Mode 2003 and might not run properly.");
839+
}
840+
835841
/*if (game_config.patch_key_patch.Get()) {
836842
auto exe_util_types = Utils::MakeSvArray(".exe", ".dll", ".dat");
837843
auto exe_util_names = Utils::MakeSvArray("ppcomp", "sfx");

0 commit comments

Comments
 (0)