mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix flags in dlopen call for steam overlay check
This commit is contained in:
parent
8321b14a33
commit
84bf968b23
|
@ -44,7 +44,7 @@ char platform_get_path_separator()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
bool platform_is_steam_overlay_attached() {
|
bool platform_is_steam_overlay_attached() {
|
||||||
return dlopen("gameoverlayrenderer.so", RTLD_NOLOAD) != NULL;
|
return dlopen("gameoverlayrenderer.so", RTLD_NOW | RTLD_NOLOAD) != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue