shadPS4/src/common/config.h

25 lines
476 B
C
Raw Normal View History

2024-02-23 22:32:32 +01:00
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2023-08-14 19:17:01 +02:00
#pragma once
2024-02-23 22:32:32 +01:00
2023-08-14 19:17:01 +02:00
#include <filesystem>
#include "types.h"
2023-08-14 19:17:01 +02:00
namespace Config {
void load(const std::filesystem::path& path);
void save(const std::filesystem::path& path);
bool isNeoMode();
std::string getLogFilter();
std::string getLogType();
2023-08-16 09:34:04 +02:00
u32 getScreenWidth();
u32 getScreenHeight();
s32 getGpuId();
2023-08-16 09:34:04 +02:00
bool debugDump();
2024-03-25 08:26:59 +01:00
bool isLleLibc();
}; // namespace Config