MCPcopy Create free account
hub / github.com/Inori/GPCS4 / sceSysmoduleIsLoaded

Function sceSysmoduleIsLoaded

GPCS4/SceModules/SceSysmodule/sce_sysmodule.cpp:143–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142
143int PS4API sceSysmoduleIsLoaded(uint16_t id)
144{
145 //int ret = SCE_SYSMODULE_ERROR_UNLOADED;
146 //do
147 //{
148 // const char* modName = moduleNameFromId(id);
149 // if (!modName)
150 // {
151 // LOG_WARN("specified invalid module id %x", id);
152 // ret = SCE_SYSMODULE_ERROR_INVALID_VALUE;
153 // break;
154 // }
155
156 // if (!CSceModuleSystem::GetInstance()->IsModuleLoaded(modName))
157 // {
158 // LOG_ERR("game try to load an unimplemented module %s", modName);
159 // ret = SCE_SYSMODULE_ERROR_UNLOADED;
160 // break;
161 // }
162 //
163 // ret = SCE_SYSMODULE_LOADED;
164 //} while (false);
165 //return ret;
166 const char* modName = moduleNameFromId(id);
167 LOG_SCE_TRACE("module name %s id %x", modName, id);
168 return SCE_SYSMODULE_LOADED;
169}
170
171
172int PS4API sceSysmoduleLoadModule(uint16_t id)

Callers

nothing calls this directly

Calls 1

moduleNameFromIdFunction · 0.85

Tested by

no test coverage detected