mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 00:40:58 +01:00
yuzu/main: Change to 8_GiB instead of magic number
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
This commit is contained in:
parent
26a1d4fc37
commit
211da31b34
1 changed files with 1 additions and 1 deletions
|
@ -2807,7 +2807,7 @@ void GMainWindow::OnMenuReportCompatibility() {
|
|||
const bool has_fma = caps.fma || caps.fma4;
|
||||
const auto processor_count = std::thread::hardware_concurrency();
|
||||
const bool has_4threads = processor_count == 0 || processor_count >= 4;
|
||||
const bool has_8gb_ram = Common::GetMemInfo().TotalPhysicalMemory >= 8000000000;
|
||||
const bool has_8gb_ram = Common::GetMemInfo().TotalPhysicalMemory >= 8_GiB;
|
||||
const bool has_broken_vulkan = UISettings::values.has_broken_vulkan;
|
||||
|
||||
if (!has_fma || !has_4threads || !has_8gb_ram || has_broken_vulkan) {
|
||||
|
|
Loading…
Reference in a new issue