Also try other binary name

This commit is contained in:
Federico Cecchetto 2021-12-29 22:22:13 +01:00
parent 2e0a966274
commit aba45f18b4

View File

@ -67,6 +67,12 @@ FARPROC load_binary(const launcher::mode mode, uint64_t* base_address)
{
case launcher::mode::singleplayer:
binary = "MW2CR.exe";
if (!utils::io::file_exists(binary))
{
binary = "h2_sp64_bnet_ship.exe";
}
break;
case launcher::mode::none:
default: