kernel: To snake case

This commit is contained in:
GPUCode 2023-11-06 01:19:57 +02:00
parent 099d01f96c
commit 79c9d9ebd1
4 changed files with 8 additions and 9 deletions

View File

@ -119,8 +119,8 @@ add_executable(shadps4
src/core/hle/libraries/libkernel/libkernel.h
src/core/hle/libraries/libscegnmdriver/libscegnmdriver.cpp
src/core/hle/libraries/libscegnmdriver/libscegnmdriver.h
src/core/hle/kernel/ThreadManagement.cpp
src/core/hle/kernel/ThreadManagement.h
src/core/hle/kernel/thread_management.cpp
src/core/hle/kernel/thread_management.h
src/core/hle/kernel/memory_management.cpp
src/core/hle/kernel/memory_management.h
src/core/hle/error_codes.h

View File

@ -1,17 +1,16 @@
#include "common/debug.h"
#include "core/hle/kernel/ThreadManagement.h"
#include "core/hle/kernel/thread_management.h"
#include "core/hle/error_codes.h"
namespace Core::Kernel {
thread_local PthreadInternal* g_pthread_self = nullptr;
thread_local PthreadInternal g_pthread_self{};
PThreadCxt* g_pthread_cxt = nullptr;
void Pthread_Init_Self_MainThread() {
g_pthread_self = new PthreadInternal{};
scePthreadAttrInit(&g_pthread_self->attr);
g_pthread_self->pth = pthread_self();
g_pthread_self->name = "Main_Thread";
scePthreadAttrInit(&g_pthread_self.attr);
g_pthread_self.pth = pthread_self();
g_pthread_self.name = "Main_Thread";
}
int scePthreadAttrInit(ScePthreadAttr* attr) {

View File

@ -4,9 +4,9 @@
#include "common/string_util.h"
#include "core/aerolib/aerolib.h"
#include "core/aerolib/stubs.h"
#include "core/hle/kernel/thread_management.h"
#include "core/linker.h"
#include "core/virtual_memory.h"
#include "core/hle/kernel/ThreadManagement.h"
namespace Core {