Fix macOS code and change "Swapfile" to "Swap"

This commit is contained in:
Morph
2020-05-27 11:21:59 -04:00
parent 9a36d8600c
commit b2af304918
2 changed files with 6 additions and 3 deletions

View File

@ -222,7 +222,7 @@ GMainWindow::GMainWindow()
LOG_INFO(Frontend, "Host OS: {}", QSysInfo::prettyProductName().toStdString());
LOG_INFO(Frontend, "Host RAM: {:.2f} GB",
Common::GetMemInfo().TotalPhysicalMemory / 1024.0f / 1024 / 1024);
LOG_INFO(Frontend, "Host Swapfile: {:.2f} GB",
LOG_INFO(Frontend, "Host Swap: {:.2f} GB",
Common::GetMemInfo().TotalSwapMemory / 1024.0f / 1024 / 1024);
UpdateWindowTitle();