mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 07:27:59 -05:00
disable forward compat mode on android
This commit is contained in:
parent
9d6b2954e5
commit
c9e97af18a
1 changed files with 5 additions and 0 deletions
|
@ -42,6 +42,11 @@ Loader::Impl::~Impl() = default;
|
||||||
// Initialization
|
// Initialization
|
||||||
|
|
||||||
bool Loader::Impl::isForwardCompatMode() {
|
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()) {
|
if (!m_forwardCompatMode.has_value()) {
|
||||||
m_forwardCompatMode = !this->getGameVersion().empty() &&
|
m_forwardCompatMode = !this->getGameVersion().empty() &&
|
||||||
this->getGameVersion() != GEODE_STR(GEODE_GD_VERSION);
|
this->getGameVersion() != GEODE_STR(GEODE_GD_VERSION);
|
||||||
|
|
Loading…
Reference in a new issue