mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Linux] Resolved issue with huge executable file under linux
- Fixed compilation issues
This commit is contained in:
parent
03571ac4c1
commit
be715f76fa
|
|
@ -91,6 +91,7 @@ filter("configurations:Release")
|
||||||
"_NO_DEBUG_HEAP=1",
|
"_NO_DEBUG_HEAP=1",
|
||||||
})
|
})
|
||||||
optimize("Speed")
|
optimize("Speed")
|
||||||
|
symbols("Off")
|
||||||
inlining("Auto")
|
inlining("Auto")
|
||||||
editandcontinue("Off")
|
editandcontinue("Off")
|
||||||
-- Not using floatingpoint("Fast") - NaN checks are used in some places
|
-- Not using floatingpoint("Fast") - NaN checks are used in some places
|
||||||
|
|
@ -102,6 +103,7 @@ filter("configurations:Release")
|
||||||
|
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
filter({"configurations:Release", "platforms:Windows"})
|
||||||
linktimeoptimization("On")
|
linktimeoptimization("On")
|
||||||
|
symbols("On")
|
||||||
flags({
|
flags({
|
||||||
"NoBufferSecurityCheck"
|
"NoBufferSecurityCheck"
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -594,14 +594,18 @@ class GameAchievementsDialog final : public XamDialog {
|
||||||
const auto unlock_time = chrono::WinSystemClock::to_local(
|
const auto unlock_time = chrono::WinSystemClock::to_local(
|
||||||
achievement_entry.unlock_time.to_time_point());
|
achievement_entry.unlock_time.to_time_point());
|
||||||
|
|
||||||
return fmt::format("Unlocked: {:%Y-%m-%d %H:%M}", unlock_time);
|
return fmt::format("Unlocked: {:%Y-%m-%d %H:%M}",
|
||||||
|
std::chrono::system_clock::time_point(
|
||||||
|
unlock_time.time_since_epoch()));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (achievement_entry.unlock_time.is_valid()) {
|
if (achievement_entry.unlock_time.is_valid()) {
|
||||||
const auto unlock_time = chrono::WinSystemClock::to_local(
|
const auto unlock_time = chrono::WinSystemClock::to_local(
|
||||||
achievement_entry.unlock_time.to_time_point());
|
achievement_entry.unlock_time.to_time_point());
|
||||||
|
|
||||||
return fmt::format("Unlocked: Offline ({:%Y-%m-%d %H:%M})", unlock_time);
|
return fmt::format("Unlocked: Offline ({:%Y-%m-%d %H:%M})",
|
||||||
|
std::chrono::system_clock::time_point(
|
||||||
|
unlock_time.time_since_epoch()));
|
||||||
}
|
}
|
||||||
return fmt::format("Unlocked: Offline");
|
return fmt::format("Unlocked: Offline");
|
||||||
}
|
}
|
||||||
|
|
@ -789,7 +793,9 @@ class GamesInfoDialog final : public XamDialog {
|
||||||
|
|
||||||
if (entry.WasTitlePlayed()) {
|
if (entry.WasTitlePlayed()) {
|
||||||
ImGui::TextUnformatted(
|
ImGui::TextUnformatted(
|
||||||
fmt::format("Last played: {:%Y-%m-%d %H:%M}", entry.last_played)
|
fmt::format("Last played: {:%Y-%m-%d %H:%M}",
|
||||||
|
std::chrono::system_clock::time_point(
|
||||||
|
entry.last_played.time_since_epoch()))
|
||||||
.c_str());
|
.c_str());
|
||||||
} else {
|
} else {
|
||||||
ImGui::TextUnformatted("Last played: Unknown");
|
ImGui::TextUnformatted("Last played: Unknown");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue