src: Move certain headers in common

This commit is contained in:
GPUCode 2023-11-05 13:41:10 +02:00
parent 6e28ac711f
commit 17aefc1aef
73 changed files with 98 additions and 106 deletions

View file

@ -1,10 +1,10 @@
#include "libc.h"
#include <debug.h>
#include "common/debug.h"
#include <stdlib.h>
#include "Emulator/Util/singleton.h"
#include "Util/log.h"
#include "common/singleton.h"
#include "common/log.h"
#include "core/PS4/HLE/Libs.h"
#include "core/hle/libraries/libc/libc.h"
#include "core/hle/libraries/libc/libc_cxa.h"

View file

@ -1,6 +1,6 @@
#pragma once
#include <types.h>
#include "common/types.h"
#include "core/PS4/Loader/SymbolsResolver.h"
namespace Core::Libraries::LibC {

View file

@ -1,7 +1,7 @@
#include "libc_cxa.h"
#include "Util/log.h"
#include "debug.h"
#include "common/log.h"
#include "common/debug.h"
// adapted from https://opensource.apple.com/source/libcppabi/libcppabi-14/src/cxa_guard.cxx.auto.html

View file

@ -2,7 +2,7 @@
#define _TIMESPEC_DEFINED
#include <pthread.h>
#include <types.h>
#include "common/types.h"
namespace Core::Libraries::LibC {
int PS4_SYSV_ABI __cxa_guard_acquire(u64* guard_object);

View file

@ -1,6 +1,6 @@
#pragma once
#include <types.h>
#include "common/types.h"
namespace Core::Libraries::LibC {
float PS4_SYSV_ABI atan2f(float y, float x);

View file

@ -1,7 +1,7 @@
#include "libc_stdio.h"
#include <debug.h>
#include <Util/log.h>
#include "common/debug.h"
#include "common/log.h"
namespace Core::Libraries::LibC {
constexpr bool log_file_libc = true; // disable it to disable logging

View file

@ -1,6 +1,6 @@
#pragma once
#include <types.h>
#include "common/types.h"
#include "printf.h"

View file

@ -1,7 +1,7 @@
#include "libc_stdlib.h"
#include <Util/log.h>
#include <debug.h>
#include "common/log.h"
#include "common/debug.h"
#include <cstdlib>

View file

@ -1,6 +1,6 @@
#pragma once
#include <types.h>
#include "common/types.h"
#include <cstddef>

View file

@ -1,6 +1,6 @@
#pragma once
#include <types.h>
#include "common/types.h"
#include <cstddef>

View file

@ -1,4 +1,4 @@
#include <types.h>
#include "common/types.h"
#include <xmmintrin.h>
#define VA_ARGS \

View file

@ -1,8 +1,8 @@
#include "file_system.h"
#include <core/PS4/HLE/Libs.h>
#include <Util/log.h>
#include <debug.h>
#include "common/log.h"
#include "common/debug.h"
namespace Core::Libraries::LibKernel {
constexpr bool log_file_fs = true; // disable it to disable logging

View file

@ -1,5 +1,5 @@
#pragma once
#include <types.h>
#include "common/types.h"
#include "core/PS4/Loader/SymbolsResolver.h"
namespace Core::Libraries::LibKernel {

View file

@ -1,6 +1,6 @@
#pragma once
#include "types.h"
#include "common/types.h"
#include "core/PS4/Loader/SymbolsResolver.h"
namespace Core::Libraries::LibKernel {

View file

@ -3,10 +3,10 @@
#include <core/PS4/HLE/ErrorCodes.h>
#include <core/PS4/HLE/Libs.h>
#include "Emulator/Util/singleton.h"
#include "common/singleton.h"
#include "Emulator/Host/controller.h"
#include <debug.h>
#include <Util/log.h>
#include "common/debug.h"
#include "common/log.h"
namespace Core::Libraries::LibPad {

View file

@ -1,5 +1,5 @@
#pragma once
#include <types.h>
#include "common/types.h"
#include "core/PS4/Loader/SymbolsResolver.h"
#include "core/hle/libraries/libuserservice/user_service.h"

View file

@ -1,6 +1,6 @@
#include <core/PS4/HLE/ErrorCodes.h>
#include <core/PS4/HLE/Libs.h>
#include <Util/log.h>
#include "common/log.h"
#include "system_service.h"
namespace Core::Libraries::LibSystemService {

View file

@ -3,7 +3,7 @@
#include <core/PS4/HLE/ErrorCodes.h>
#include <core/PS4/HLE/Libs.h>
#include "Util/log.h"
#include "common/log.h"
namespace Core::Libraries::LibUserService {