diff --git a/loader/include/Geode/cocos/support/zip_support/ZipUtils.h b/loader/include/Geode/cocos/support/zip_support/ZipUtils.h index e7869b35..4bec8e77 100644 --- a/loader/include/Geode/cocos/support/zip_support/ZipUtils.h +++ b/loader/include/Geode/cocos/support/zip_support/ZipUtils.h @@ -149,17 +149,17 @@ namespace cocos2d */ static void ccSetPvrEncryptionKey(unsigned int keyPart1, unsigned int keyPart2, unsigned int keyPart3, unsigned int keyPart4); - static gd::string base64DecodeEnc(gd::string, gd::string); - static gd::string base64EncodeEnc(gd::string, gd::string); - static gd::string base64URLDecode(gd::string); - static gd::string base64URLEncode(gd::string); + static gd::string base64DecodeEnc(gd::string const&, gd::string); + static gd::string base64EncodeEnc(gd::string const&, gd::string); + static gd::string base64URLDecode(gd::string const&); + static gd::string base64URLEncode(gd::string const&); static int ccDeflateMemory(unsigned char*, unsigned int, unsigned char**); static int ccDeflateMemoryWithHint(unsigned char*, unsigned int, unsigned char**, unsigned int); - static gd::string compressString(gd::string, bool, int); - static gd::string decompressString(gd::string, bool, int); + static gd::string compressString(gd::string const&, bool, int); + static gd::string decompressString(gd::string const&, bool, int); static gd::string decompressString2(unsigned char*, bool, int, int); - static gd::string encryptDecrypt(gd::string, int); - static gd::string encryptDecryptWKey(gd::string, gd::string); + static gd::string encryptDecrypt(gd::string const&, int); + static gd::string encryptDecryptWKey(gd::string const&, gd::string); static unsigned char hexToChar(const gd::string&); static gd::string urlDecode(const gd::string&); diff --git a/loader/include/Geode/cocos/touch_dispatcher/CCTouchDispatcher.h b/loader/include/Geode/cocos/touch_dispatcher/CCTouchDispatcher.h index 3365f20d..9f3cce0b 100644 --- a/loader/include/Geode/cocos/touch_dispatcher/CCTouchDispatcher.h +++ b/loader/include/Geode/cocos/touch_dispatcher/CCTouchDispatcher.h @@ -201,6 +201,7 @@ public: */ CCTouchHandler* findHandler(CCTouchDelegate *pDelegate); +private: RT_ADD( void incrementForcePrio(int priority); void decrementForcePrio(int priority);