disable forward compat mode on android

This commit is contained in:
Chloe 2024-11-11 15:53:02 -07:00
parent 9d6b2954e5
commit c9e97af18a
No known key found for this signature in database
GPG key ID: D2D404DD810FE0E3

View file

@ -42,6 +42,11 @@ Loader::Impl::~Impl() = default;
// Initialization
bool Loader::Impl::isForwardCompatMode() {
#ifdef GEODE_IS_ANDROID
// forward compat mode doesn't really make sense on android
return false;
#endif
if (!m_forwardCompatMode.has_value()) {
m_forwardCompatMode = !this->getGameVersion().empty() &&
this->getGameVersion() != GEODE_STR(GEODE_GD_VERSION);