show platform in load message

This commit is contained in:
qimiko 2024-06-07 05:55:40 -07:00
parent fe068a002c
commit d0c6629ea3
No known key found for this signature in database
GPG key ID: D2D404DD810FE0E3

View file

@ -112,12 +112,13 @@ int geodeEntry(void* platformData) {
forwardCompatSuffix = " (forward compatibility mode)";
if (LoaderImpl::get()->getGameVersion().empty()) {
log::info("Running {} {}{}", Mod::get()->getName(), Mod::get()->getVersion(),
forwardCompatSuffix);
log::info("Running {} {}{} on {}", Mod::get()->getName(), Mod::get()->getVersion(),
forwardCompatSuffix, PlatformID::toString(GEODE_PLATFORM_TARGET));
}
else {
log::info("Running {} {} in Geometry Dash v{}{}", Mod::get()->getName(),
Mod::get()->getVersion(), LoaderImpl::get()->getGameVersion(), forwardCompatSuffix);
log::info("Running {} {} in Geometry Dash v{}{} on {}", Mod::get()->getName(),
Mod::get()->getVersion(), LoaderImpl::get()->getGameVersion(), forwardCompatSuffix,
PlatformID::toString(GEODE_PLATFORM_TARGET));
}
tryLogForwardCompat();