mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2026-01-25 14:02:55 -05:00
Fixed build errors
This commit is contained in:
@@ -211,9 +211,7 @@ namespace steam_interfaces {
|
||||
|
||||
// Prepare HSteamPipe and HSteamUser
|
||||
const auto CreateInterface$ = KB_WIN_GET_PROC(steamclient_handle, CreateInterface);
|
||||
const auto* const THIS = CreateInterface$(
|
||||
steam_client_interface_version.c_str(), nullptr
|
||||
);
|
||||
const auto* const THIS = CreateInterface$(steam_client_interface_version.c_str(), nullptr);
|
||||
hook_virtuals(THIS, steam_client_interface_version);
|
||||
|
||||
const auto interface_lookup = read_interface_lookup();
|
||||
@@ -236,6 +234,7 @@ namespace steam_interfaces {
|
||||
continue;
|
||||
}
|
||||
|
||||
DECLARE_EDX();
|
||||
const auto* const interface_ptr = ISteamClient_GetISteamGenericInterface(
|
||||
ARGS(steam_user, steam_pipe, interface_version.c_str())
|
||||
);
|
||||
@@ -245,9 +244,6 @@ namespace steam_interfaces {
|
||||
}
|
||||
}
|
||||
|
||||
// ISteamClient_ReleaseUser(ARGS(steam_pipe, steam_user));
|
||||
// ISteamClient_BReleaseSteamPipe(ARGS(steam_pipe));
|
||||
|
||||
kb::hook::unhook_vt_all(THIS);
|
||||
} catch(const std::exception& e) {
|
||||
LOG_ERROR("{} -> Unhandled exception: {}", __func__, e.what());
|
||||
|
||||
Reference in New Issue
Block a user