fix(game): disable steam overlay #1
@ -72,14 +72,14 @@ namespace steam_proxy
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] const utils::nt::library& get_overlay_module() const
|
// [[nodiscard]] const utils::nt::library& get_overlay_module() const
|
||||||
{
|
// {
|
||||||
return steam_overlay_module_;
|
// return steam_overlay_module_;
|
||||||
}
|
// }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
utils::nt::library steam_client_module_{};
|
utils::nt::library steam_client_module_{};
|
||||||
utils::nt::library steam_overlay_module_{};
|
// utils::nt::library steam_overlay_module_{};
|
||||||
|
|
||||||
steam::interface client_engine_{};
|
steam::interface client_engine_{};
|
||||||
steam::interface client_user_{};
|
steam::interface client_user_{};
|
||||||
@ -109,7 +109,7 @@ namespace steam_proxy
|
|||||||
|
|
||||||
utils::nt::library::load(steam_path / "tier0_s64.dll");
|
utils::nt::library::load(steam_path / "tier0_s64.dll");
|
||||||
utils::nt::library::load(steam_path / "vstdlib_s64.dll");
|
utils::nt::library::load(steam_path / "vstdlib_s64.dll");
|
||||||
this->steam_overlay_module_ = utils::nt::library::load(steam_path / "gameoverlayrenderer64.dll");
|
// this->steam_overlay_module_ = utils::nt::library::load(steam_path / "gameoverlayrenderer64.dll");
|
||||||
this->steam_client_module_ = utils::nt::library::load(steam_path / "steamclient64.dll");
|
this->steam_client_module_ = utils::nt::library::load(steam_path / "steamclient64.dll");
|
||||||
if (!this->steam_client_module_) return;
|
if (!this->steam_client_module_) return;
|
||||||
|
|
||||||
|
@ -82,13 +82,14 @@ namespace steam
|
|||||||
result_handlers_[result.call]->run(result.data, false, result.call);
|
result_handlers_[result.call]->run(result.data, false, result.call);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const auto& callback : callback_list_)
|
// small chance of a crash when exiting lobby menus (INVALID_POINTER_READ)
|
||||||
|
/* for (const auto& callback : callback_list_)
|
||||||
{
|
{
|
||||||
if (callback && callback->get_i_callback() == result.type)
|
if (callback && callback->get_i_callback() == result.type)
|
||||||
{
|
{
|
||||||
callback->run(result.data, false, 0);
|
callback->run(result.data, false, 0);
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (result.data)
|
if (result.data)
|
||||||
{
|
{
|
||||||
@ -165,7 +166,6 @@ namespace steam
|
|||||||
return install_path.data();
|
return install_path.data();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool SteamGameServer_Init()
|
bool SteamGameServer_Init()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
@ -179,7 +179,6 @@ namespace steam
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
friends* SteamFriends()
|
friends* SteamFriends()
|
||||||
{
|
{
|
||||||
static friends friends;
|
static friends friends;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user