Update main.cpp

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

View file

@ -111,8 +111,6 @@ 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!",
@ -121,8 +119,6 @@ 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(
"Unable to load Geode!",
@ -131,12 +127,8 @@ 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
@ -151,8 +143,6 @@ 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.
@ -166,8 +156,6 @@ 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")) {