mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-23 03:15:58 -04:00
fix isControllerConnected
This commit is contained in:
parent
07733c6fac
commit
a9f8adae66
1 changed files with 1 additions and 1 deletions
|
@ -4098,7 +4098,7 @@ class PlatformToolbox {
|
|||
static bool isControllerConnected() {
|
||||
#ifdef GEODE_IS_WINDOWS
|
||||
return cocos2d::CCApplication::sharedApplication()->getControllerConnected();
|
||||
#elif GEODE_IS_MACOS
|
||||
#elif defined(GEODE_IS_MACOS)
|
||||
// this is just gd.h
|
||||
return reinterpret_cast<bool(*)()>(geode::base::get() + 0x27d1b0)();
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue