1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00

Implement platform_is_steam_overlay_attached for unix

This commit is contained in:
Alexander Overvoorde
2015-10-03 23:10:42 +02:00
parent 51377fc960
commit f6b7121c23

View File

@@ -23,6 +23,7 @@
#include "../cmdline.h"
#include "../openrct2.h"
#include <dlfcn.h>
/**
* Unix, linux and fallback entry point to OpenRCT2.
@@ -42,5 +43,9 @@ char platform_get_path_separator()
}
*/
bool platform_is_steam_overlay_attached() {
return dlopen("gameoverlayrenderer.so", RTLD_NOLOAD) != NULL;
}
#endif
#endif