Also try other binary name
This commit is contained in:
parent
2e0a966274
commit
aba45f18b4
@ -67,6 +67,12 @@ FARPROC load_binary(const launcher::mode mode, uint64_t* base_address)
|
|||||||
{
|
{
|
||||||
case launcher::mode::singleplayer:
|
case launcher::mode::singleplayer:
|
||||||
binary = "MW2CR.exe";
|
binary = "MW2CR.exe";
|
||||||
|
|
||||||
|
if (!utils::io::file_exists(binary))
|
||||||
|
{
|
||||||
|
binary = "h2_sp64_bnet_ship.exe";
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case launcher::mode::none:
|
case launcher::mode::none:
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user