Merge branch 'altalk' into main

This commit is contained in:
alk 2022-11-19 09:50:31 +03:00 committed by GitHub
commit 7c43023c7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,6 +111,8 @@ static auto _ = listenForSettingChanges(
int geodeEntry(void* platformData) {
// setup internals
InternalLoader::platformMessageBox("Geode 1!", "Boobs i will squash the commits");
if (!InternalLoader::get()) {
InternalLoader::platformMessageBox(
"Unable to Load Geode!",
@ -119,6 +121,7 @@ int geodeEntry(void* platformData) {
"(InternalLoader::get returned nullptr)"
);
}
InternalLoader::platformMessageBox("Geode 2!", "Boobs i will squash the commits");
if (!geode::core::hook::initialize()) {
InternalLoader::platformMessageBox(
@ -128,9 +131,12 @@ int geodeEntry(void* platformData) {
"(Unable to set up hook manager)"
);
}
InternalLoader::platformMessageBox("Geode 3!", "Boobs i will squash the commits");
geode_implicit_load(InternalMod::get());
InternalLoader::platformMessageBox("Geode 4!", "Boobs i will squash the commits");
if (!InternalLoader::get()->setup()) {
// if we've made it here, Geode will
// be gettable (otherwise the call to
@ -145,6 +151,8 @@ int geodeEntry(void* platformData) {
return 1;
}
InternalLoader::platformMessageBox("Geode 5!", "Boobs i will squash the commits");
log::debug("Loaded internal Geode class");
// set up loader, load mods, etc.
@ -158,6 +166,8 @@ int geodeEntry(void* platformData) {
return 1;
}
InternalLoader::platformMessageBox("Geode 6!", "Boobs i will squash the commits");
log::debug("Set up loader");
if (InternalMod::get()->getSettingValue<bool>("show-platform-console")) {