Skip to content

Commit

Permalink
dr
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Aug 7, 2024
1 parent 52f9c3a commit 9422535
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Hacks/MenuGameplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ class $modify (MenuGameLayer)
}
};

#ifndef GEODE_IS_IOS

class $modify (CCKeyboardDispatcher)
{
bool dispatchKeyboardMSG(enumKeyCodes key, bool isKeyDown, bool isKeyRepeat)
Expand Down Expand Up @@ -110,4 +112,6 @@ class $modify (CCKeyboardDispatcher)
modu->addHookRaw(hook);
});
}
};
};

#endif
4 changes: 4 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ bool android = true;

Client* client;

#ifndef GEODE_IS_IOS

class $modify (CCKeyboardDispatcher)
{
bool dispatchKeyboardMSG(enumKeyCodes key, bool down, bool idk)
Expand Down Expand Up @@ -134,6 +136,8 @@ class $modify (CCKeyboardDispatcher)
}
};

#endif

void migrateData()
{
if (Mod::get()->getSavedValue<bool>("migrated"))
Expand Down

0 comments on commit 9422535

Please sign in to comment.