mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 23:42:43 +00:00
Fixed formatting
This commit is contained in:
parent
070b4a82b4
commit
c74d653546
@ -399,21 +399,20 @@ int PS4_SYSV_ABI posix_getpagesize() {
|
||||
return 4096;
|
||||
}
|
||||
|
||||
int PS4_SYSV_ABI sceKernelGetModuleList(Core::Module** pArray, size_t numArray, size_t* pActualNum) {
|
||||
int PS4_SYSV_ABI sceKernelGetModuleList(Core::Module** pArray, size_t numArray,
|
||||
size_t* pActualNum) {
|
||||
auto* linker = Common::Singleton<Core::Linker>::Instance();
|
||||
int numModules = linker->GetNumberModules();
|
||||
for (int i = 0; i < std::min(static_cast<int>(numArray), numModules); ++i)
|
||||
{
|
||||
for (int i = 0; i < std::min(static_cast<int>(numArray), numModules); ++i) {
|
||||
auto m = linker->GetModule(i);
|
||||
if (!m)
|
||||
{
|
||||
if (!m) {
|
||||
*pActualNum = i;
|
||||
break;
|
||||
}
|
||||
|
||||
pArray[i] = m;
|
||||
}
|
||||
|
||||
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user