mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
Fix flags in dlopen call for steam overlay check
This commit is contained in:
@@ -44,7 +44,7 @@ char platform_get_path_separator()
|
||||
*/
|
||||
|
||||
bool platform_is_steam_overlay_attached() {
|
||||
return dlopen("gameoverlayrenderer.so", RTLD_NOLOAD) != NULL;
|
||||
return dlopen("gameoverlayrenderer.so", RTLD_NOW | RTLD_NOLOAD) != NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user