clang fix
This commit is contained in:
parent
73d60b7e8d
commit
11a3906243
|
@ -1276,7 +1276,7 @@ int PS4_SYSV_ABI scePthreadOnce(int* once_control, void (*init_routine)(void)) {
|
||||||
return pthread_once(reinterpret_cast<pthread_once_t*>(once_control), init_routine);
|
return pthread_once(reinterpret_cast<pthread_once_t*>(once_control), init_routine);
|
||||||
}
|
}
|
||||||
|
|
||||||
[[noreturn]] void PS4_SYSV_ABI scePthreadExit(void *value_ptr) {
|
[[noreturn]] void PS4_SYSV_ABI scePthreadExit(void* value_ptr) {
|
||||||
pthread_exit(value_ptr);
|
pthread_exit(value_ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,8 +55,7 @@ static std::string EncodeId(u64 nVal) {
|
||||||
return enc;
|
return enc;
|
||||||
}
|
}
|
||||||
|
|
||||||
Module::Module(Core::MemoryManager* memory_,
|
Module::Module(Core::MemoryManager* memory_, const std::filesystem::path& file_, u32& max_tls_index)
|
||||||
const std::filesystem::path& file_, u32& max_tls_index)
|
|
||||||
: memory{memory_}, file{file_}, name{file.stem().string()} {
|
: memory{memory_}, file{file_}, name{file.stem().string()} {
|
||||||
elf.Open(file);
|
elf.Open(file);
|
||||||
if (elf.IsElfFile()) {
|
if (elf.IsElfFile()) {
|
||||||
|
|
Loading…
Reference in New Issue