moved config to config folder

This commit is contained in:
georgemoralis 2024-03-09 18:59:08 +02:00
parent 771c07a026
commit fb48626d7e
8 changed files with 9 additions and 13 deletions

View file

@ -186,6 +186,8 @@ set(COMMON src/common/logging/backend.cpp
src/common/assert.h
src/common/bounded_threadsafe_queue.h
src/common/concepts.h
src/common/config.cpp
src/common/config.h
src/common/debug.h
src/common/disassembler.cpp
src/common/disassembler.h
@ -229,10 +231,6 @@ set(FILE_FORMAT src/core/file_format/pfs.h
src/core/file_format/psf.h
)
set(UTILITIES src/Util/config.cpp
src/Util/config.h
)
if(ENABLE_QT_GUI)
qt_add_executable(shadps4
${QT_GUI}
@ -240,7 +238,6 @@ qt_add_executable(shadps4
${CORE}
${CRYPTO}
${FILE_FORMAT}
${UTILITIES}
)
else()
add_executable(shadps4
@ -308,7 +305,6 @@ add_executable(shadps4
${CORE}
${CRYPTO}
${FILE_FORMAT}
${UTILITIES}
)
endif()

View file

@ -4,7 +4,7 @@
#pragma once
#include <filesystem>
#include "common/types.h"
#include "types.h"
namespace Config {
void load(const std::filesystem::path& path);

View file

@ -6,13 +6,13 @@
#include <thread>
#include <fmt/format.h>
#include "Util/config.h"
#ifdef _WIN32
#include <windows.h> // For OutputDebugStringW
#endif
#include "common/bounded_threadsafe_queue.h"
#include "common/config.h"
#include "common/io_file.h"
#include "common/logging/backend.h"
#include "common/logging/log.h"

View file

@ -4,7 +4,7 @@
#include <cstdio>
#include <string>
#include "Objects/video_out_ctx.h"
#include "Util/config.h"
#include "common/config.h"
#include "common/debug.h"
#include "common/logging/log.h"
#include "common/singleton.h"

View file

@ -19,7 +19,7 @@ namespace Core::AeroLib {
// and to longer compile / CI times
//
// Must match STUBS_LIST define
constexpr u32 MAX_STUBS = 128;
constexpr u32 MAX_STUBS = 512;
u64 UnresolvedStub() {
LOG_ERROR(Core, "Returning zero to {}", __builtin_return_address(0));
@ -61,7 +61,7 @@ static u32 UsedStubEntries;
#define XREP_256(x) XREP_128(x) XREP_128(x + 128)
#define XREP_512(x) XREP_256(x) XREP_256(x + 256)
#define STUBS_LIST XREP_128(0)
#define STUBS_LIST XREP_512(0)
static u64 (*stub_handlers[MAX_STUBS])() = {STUBS_LIST};

View file

@ -1,7 +1,7 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Util/config.h"
#include "common/config.h"
#include "common/logging/log.h"
#include "core/hle/kernel/cpu_management.h"

View file

@ -10,7 +10,7 @@
#include <thread>
#include <core/hle/libraries/libkernel/thread_management.h>
#include "Util/config.h"
#include "common/config.h"
#include "common/discord.h"
#include "common/logging/backend.h"
#include "common/path_util.h"