diff options
| author | 2022-11-11 19:15:52 +0100 | |
|---|---|---|
| committer | 2022-11-11 19:15:52 +0100 | |
| commit | 211da31b34c754c69299f2553be4a42e4867f29c (patch) | |
| tree | 87966971920de14840158f75bf5c7c22c03f184a | |
| parent | yuzu/compatdb: Rework compatibility submission system (diff) | |
| download | yuzu-211da31b34c754c69299f2553be4a42e4867f29c.tar.gz yuzu-211da31b34c754c69299f2553be4a42e4867f29c.tar.xz yuzu-211da31b34c754c69299f2553be4a42e4867f29c.zip | |
yuzu/main: Change to 8_GiB instead of magic number
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
Diffstat (limited to '')
| -rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index ee7de910f..ccae2b828 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -2807,7 +2807,7 @@ void GMainWindow::OnMenuReportCompatibility() { | |||
| 2807 | const bool has_fma = caps.fma || caps.fma4; | 2807 | const bool has_fma = caps.fma || caps.fma4; |
| 2808 | const auto processor_count = std::thread::hardware_concurrency(); | 2808 | const auto processor_count = std::thread::hardware_concurrency(); |
| 2809 | const bool has_4threads = processor_count == 0 || processor_count >= 4; | 2809 | const bool has_4threads = processor_count == 0 || processor_count >= 4; |
| 2810 | const bool has_8gb_ram = Common::GetMemInfo().TotalPhysicalMemory >= 8000000000; | 2810 | const bool has_8gb_ram = Common::GetMemInfo().TotalPhysicalMemory >= 8_GiB; |
| 2811 | const bool has_broken_vulkan = UISettings::values.has_broken_vulkan; | 2811 | const bool has_broken_vulkan = UISettings::values.has_broken_vulkan; |
| 2812 | 2812 | ||
| 2813 | if (!has_fma || !has_4threads || !has_8gb_ram || has_broken_vulkan) { | 2813 | if (!has_fma || !has_4threads || !has_8gb_ram || has_broken_vulkan) { |