/
githubmirror
/
yuzu
Обзор
Документация
Войти
/
githubmirror
/
yuzu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/common/memory_detect.h
21 строка
473 B
Kelebek1
Rework time service to fix time passing offline.
24 янв 2024, 07:26
24 янв 2024, 07:26
e4915fb
Код
Авторство
О чём код?
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #include "common/common_types.h" namespace Common { struct MemoryInfo { u64 TotalPhysicalMemory{}; u64 TotalSwapMemory{}; }; /** * Gets the memory info of the host system * @return Reference to a MemoryInfo struct with the physical and swap memory sizes in bytes */ [[nodiscard]] const MemoryInfo& GetMemInfo(); } // namespace Common