clang-format, in-repo libatrac9, removed debug stuff
Some checks failed
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / windows-qt (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / macos-qt (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-qt (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled

This commit is contained in:
Vladislav Mikhalin 2024-11-05 09:45:58 +03:00
commit e0596d65c4
4 changed files with 3 additions and 12 deletions

2
.gitmodules vendored
View file

@ -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

View file

@ -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;

View file

@ -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;
} }