Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken emulator when libsteam_api.so is symlinked #105

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

Edremon
Copy link
Contributor

@Edremon Edremon commented Nov 28, 2024

Instead of getting the absolute path to the library, get the shared object path. On Windows, emulator is using GetModuleFileNameW, which works similarly.

I am used to having this emulator installed as a system package. I simply symlink the library in my game files to ensure all my games use the latest emulator version. For some reason, this worked for Windows games but not Linux. This change makes it work on both.

dll/base.cpp Outdated Show resolved Hide resolved
@Detanup01 Detanup01 merged commit 405f646 into Detanup01:dev Dec 1, 2024
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants