Tweak game detection for MCV and Blade (fixes #200)

(cherry picked from commit 6c5847e393)
This commit is contained in:
Nicholas Hastings 2025-02-16 13:59:13 -05:00
parent e5de18eadd
commit 1221f7f92e

View File

@ -327,12 +327,12 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
return MMBackend_BMS; return MMBackend_BMS;
} }
if (mm_FindPattern((void *)engineFactory, " Blade Symphony ", sizeof(" Blade Symphony ") - 1)) if (serverFactory("VSERVERTOOLS003", NULL) != NULL)
{ {
return MMBackend_Blade; return MMBackend_Blade;
} }
if (mm_FindPattern((void *)engineFactory, "Military Conflict: Vietnam", sizeof("Military Conflict: Vietnam") - 1)) if (strcmp(game_name, "vietnam") == 0)
{ {
return MMBackend_MCV; return MMBackend_MCV;
} }