mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 16:32:39 +00:00
clang-format, in-repo libatrac9, removed debug stuff
This commit is contained in:
parent
c98315d486
commit
e0596d65c4
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -101,4 +101,4 @@
|
|||||||
shallow = true
|
shallow = true
|
||||||
[submodule "externals/LibAtrac9"]
|
[submodule "externals/LibAtrac9"]
|
||||||
path = externals/LibAtrac9
|
path = externals/LibAtrac9
|
||||||
url = https://github.com/Vita3K/LibAtrac9
|
url = https://github.com/shadps4-emu/ext-LibAtrac9.git
|
||||||
|
@ -1075,16 +1075,7 @@ ScePthread PThreadPool::Create(const char* name) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN64
|
|
||||||
auto* ret = new PthreadInternal{};
|
auto* ret = new PthreadInternal{};
|
||||||
#else
|
|
||||||
// TODO: Linux specific hack
|
|
||||||
static u8* hint_address = reinterpret_cast<u8*>(0x7FFFFC000ULL);
|
|
||||||
auto* ret = reinterpret_cast<PthreadInternal*>(
|
|
||||||
mmap(hint_address, sizeof(PthreadInternal), PROT_READ | PROT_WRITE,
|
|
||||||
MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0));
|
|
||||||
hint_address += Common::AlignUp(sizeof(PthreadInternal), 4_KB);
|
|
||||||
#endif
|
|
||||||
ret->is_free = false;
|
ret->is_free = false;
|
||||||
ret->is_detached = false;
|
ret->is_detached = false;
|
||||||
ret->is_almost_done = false;
|
ret->is_almost_done = false;
|
||||||
|
@ -582,7 +582,7 @@ int PS4_SYSV_ABI sceHttpUriUnescape() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceHttpWaitRequest() {
|
int PS4_SYSV_ABI sceHttpWaitRequest() {
|
||||||
// LOG_ERROR(Lib_Http, "(STUBBED) called");
|
LOG_ERROR(Lib_Http, "(STUBBED) called");
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user