fix: add error message when no BO3 executable is found
This commit is contained in:
parent
f7ad60d767
commit
5f74fba381
@ -292,6 +292,11 @@ namespace
|
|||||||
|
|
||||||
const auto is_server = utils::flags::has_flag("dedicated") || (!has_client && has_server);
|
const auto is_server = utils::flags::has_flag("dedicated") || (!has_client && has_server);
|
||||||
|
|
||||||
|
if (!has_client && !has_server)
|
||||||
|
{
|
||||||
|
throw std::runtime_error("Can't find a valid BlackOps3.exe or BlackOps3_UnrankedDedicatedServer.exe. Make sure you put boiii.exe in your Black Ops 3 installation folder.");
|
||||||
|
}
|
||||||
|
|
||||||
if (!is_server)
|
if (!is_server)
|
||||||
{
|
{
|
||||||
trigger_high_performance_gpu_switch();
|
trigger_high_performance_gpu_switch();
|
||||||
|
Loading…
Reference in New Issue
Block a user