clang fix

This commit is contained in:
georgemoralis 2024-06-22 18:12:04 +03:00
parent 73d60b7e8d
commit 11a3906243
2 changed files with 2 additions and 3 deletions

View File

@ -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);
}
[[noreturn]] void PS4_SYSV_ABI scePthreadExit(void *value_ptr) {
[[noreturn]] void PS4_SYSV_ABI scePthreadExit(void* value_ptr) {
pthread_exit(value_ptr);
}

View File

@ -55,8 +55,7 @@ static std::string EncodeId(u64 nVal) {
return enc;
}
Module::Module(Core::MemoryManager* memory_,
const std::filesystem::path& file_, u32& max_tls_index)
Module::Module(Core::MemoryManager* memory_, const std::filesystem::path& file_, u32& max_tls_index)
: memory{memory_}, file{file_}, name{file.stem().string()} {
elf.Open(file);
if (elf.IsElfFile()) {