Merge pull request #638 from JariKCoding/error_message
fix: add error message when no BO3 executable is found
This commit is contained in:
commit
e2f3b7ef6c
@ -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