Simplify fatal dialog's error a bit

This commit is contained in:
Eladash 2024-01-20 10:39:11 +02:00 committed by Elad.Ash
parent c7a94a80df
commit 81ba791ee7

View file

@ -124,7 +124,8 @@ LOG_CHANNEL(q_debug, "QDEBUG");
fmt::append(buf, "\nSerialized Object: %s", g_tls_serialize_name);
}
fmt::append(buf, "\nTitle: \"%s\" (emulation is %s)", Emu.GetTitleAndTitleID(), Emu.IsStopped() ? "stopped" : "running");
const system_state state = Emu.GetStatus(false);
fmt::append(buf, "\nTitle: \"%s\" (emulation is %s)", state == system_state::stopped ? "N/A" : Emu.GetTitleAndTitleID(), state <= system_state::stopping ? "stopped" : "running");
fmt::append(buf, "\nBuild: \"%s\"", rpcs3::get_verbose_version());
fmt::append(buf, "\nDate: \"%s\"", std::chrono::system_clock::now());
}