diff --git a/obs/platform-osx.cpp b/obs/platform-osx.cpp index 88dd77cbd..ef425f90d 100644 --- a/obs/platform-osx.cpp +++ b/obs/platform-osx.cpp @@ -18,8 +18,12 @@ #include #include "platform.hpp" +#include + bool GetDataFilePath(const char *data, string &output) { - // TODO - return false; + stringstream str; + str << "../data/obs-studio/" << data; + output = str.str(); + return !access(output.c_str(), R_OK); }