fix macos entry addresses

This commit is contained in:
qimiko 2024-06-04 21:52:47 -07:00
parent 5170433c72
commit f08856f663
No known key found for this signature in database
GPG key ID: D2D404DD810FE0E3

View file

@ -17,7 +17,11 @@
using namespace geode::prelude;
// address of applicationDidFinishLaunching:
constexpr static uintptr_t ENTRY_ADDRESS = 0xb030;
#ifdef GEODE_IS_INTEL_MAC
constexpr static uintptr_t ENTRY_ADDRESS = 0x78a0;
#else
constexpr static uintptr_t ENTRY_ADDRESS = 0xa2f8;
#endif
std::length_error::~length_error() _NOEXCEPT {} // do not ask...