Implemented get_section using elfio

This commit is contained in:
acidicoala
2025-10-04 00:42:13 +05:00
parent 9944f3bd3f
commit 49efd831bf
3 changed files with 7 additions and 5 deletions

View File

@@ -152,9 +152,9 @@ For example:
2. In Steam _Library_ open game's _Properties_, switch to the _General_ tab, and set the following _LAUNCH OPTIONS_:
| Bitness | Launch Options |
|---------|----------------------------------------------------------|
|---------|--------------------------------------------------------------------|
| 32-bit | `LD_PRELOAD=./libsmoke_api32.so ./GameExecutable.x86 ` |
| 64-bit | `LD_PRELOAD=./libsmoke_api64.so ./GameExecutable.x86_64` |
| 64-bit | `LD_PRELOAD=./libsmoke_api64.so ./GameExecutable.x86_64 %command%` |
Naturally, the exact options might change depending on how files are located on your filesystem
or depending on other environment variables you might have configured.

View File

@@ -73,6 +73,8 @@ namespace {
versions.insert(i->str());
}
LOG_DEBUG("Found {} steamclient version(s) in read-only section: {}", versions.size(), versions);
return versions;
}