mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-29 11:06:07 +00:00
kernel: To snake case
This commit is contained in:
parent
099d01f96c
commit
79c9d9ebd1
|
@ -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
|
||||
|
|
|
@ -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) {
|
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in a new issue