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 libgame_ai.so loading path in game_ai.c #17456

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

MatPoliquin
Copy link
Contributor

Added a "./" so it loads the lib relative to the retroarch binary folder

@MatPoliquin MatPoliquin marked this pull request as ready for review January 22, 2025 09:59
@@ -106,7 +106,7 @@ extern void game_ai_init()
retro_assert(game_ai_lib_set_debug_log);
}
#else
g_lib_handle = dlopen("libgame_ai.so", RTLD_NOW);
g_lib_handle = dlopen("./libgame_ai.so", RTLD_NOW);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this relative to what?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this relative to what?

by prepending the "./" it makes the path relative to the root folder where the retroarch bin is

@LibretroAdmin LibretroAdmin merged commit aa49c05 into libretro:master Jan 22, 2025
30 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