Skip to content

Commit 8ec9b4e

Browse files
committed
Added README.txt to release zip
1 parent c376b79 commit 8ec9b4e

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ jobs:
1515
zip -j $ZIP_NAME
1616
artifacts/*/*.dll
1717
res/SmokeAPI.config.json
18+
res/README.txt

res/README.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Project page: https://github.com/acidicoala/SmokeAPI?tab=readme-ov-file#smokeapi
2+
Forum topic: https://cs.rin.ru/forum/viewtopic.php?p=2597932#p2597932
3+
DLC Database: https://steamdb.info/

src/smoke_api/smoke_api.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ namespace {
5454
if(kb::str::eq(library_name, STEAMCLIENT_DLL)) {
5555
KB_HOOK_DETOUR_MODULE(CreateInterface, module_handle);
5656
} else if(kb::str::eq(library_name, STEAMAPI_DLL)) {
57+
// TODO: SteamAPI_Init will be too small to hook on x64.
58+
// Ideally, we should inspect the address it jumps to and hook that instead.
59+
// Moreover, SteamAPI_InitSafe calls the same address,
60+
// so it could be used as a sanity check
61+
5762
KB_HOOK_DETOUR_MODULE(SteamAPI_Init, module_handle);
5863
KB_HOOK_DETOUR_MODULE(SteamAPI_InitSafe, module_handle);
5964
KB_HOOK_DETOUR_MODULE(SteamAPI_InitFlat, module_handle);

0 commit comments

Comments
 (0)