diff --git a/adapters/standalone.cpp b/adapters/standalone.cpp index e34779ea..14953d59 100644 --- a/adapters/standalone.cpp +++ b/adapters/standalone.cpp @@ -195,10 +195,10 @@ int main(int argc, char* argv[]) { #if defined ARCH_MAC // For some reason, launching from the command line sets glfwGetOpenedFilenames(), so make sure we're running the app bundle. if (asset::bundlePath != "") { - const char* const* openedFilenames = glfwGetOpenedFilenames(); - if (openedFilenames && openedFilenames[0]) { - patchPath = openedFilenames[0]; - } + // const char* const* openedFilenames = glfwGetOpenedFilenames(); + // if (openedFilenames && openedFilenames[0]) { + // patchPath = openedFilenames[0]; + // } } #endif diff --git a/include/random.hpp b/include/random.hpp index 9be3b5e1..36e5356f 100644 --- a/include/random.hpp +++ b/include/random.hpp @@ -52,10 +52,10 @@ struct Xoroshiro128Plus { return result; } - constexpr uint64_t min() { + constexpr uint64_t min() const { return 0; } - constexpr uint64_t max() { + constexpr uint64_t max() const { return UINT64_MAX; }