mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-11 18:50:55 +00:00
Fix module initialization
This commit is contained in:
parent
d7c3d1ce12
commit
634f353ed4
4 changed files with 19 additions and 0 deletions
|
@ -377,7 +377,11 @@ static void ppu_initialize_modules(const std::shared_ptr<ppu_linkage_info>& link
|
||||||
for (auto& module : registered)
|
for (auto& module : registered)
|
||||||
{
|
{
|
||||||
LOG_TRACE(LOADER, "Registered static module: %s", module->name);
|
LOG_TRACE(LOADER, "Registered static module: %s", module->name);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (auto& pair : ppu_module_manager::get())
|
||||||
|
{
|
||||||
|
const auto module = pair.second;
|
||||||
auto& linkage = link->modules[module->name];
|
auto& linkage = link->modules[module->name];
|
||||||
|
|
||||||
for (auto& function : module->functions)
|
for (auto& function : module->functions)
|
||||||
|
|
|
@ -106,6 +106,11 @@ public:
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static const auto& get()
|
||||||
|
{
|
||||||
|
return access();
|
||||||
|
}
|
||||||
|
|
||||||
static const ppu_static_module cellAdec;
|
static const ppu_static_module cellAdec;
|
||||||
static const ppu_static_module cellAtrac;
|
static const ppu_static_module cellAtrac;
|
||||||
static const ppu_static_module cellAtracMulti;
|
static const ppu_static_module cellAtracMulti;
|
||||||
|
|
|
@ -225,6 +225,11 @@ static void arm_initialize_modules()
|
||||||
for (auto& module : registered)
|
for (auto& module : registered)
|
||||||
{
|
{
|
||||||
LOG_TRACE(LOADER, "Registered static module: %s", module->name);
|
LOG_TRACE(LOADER, "Registered static module: %s", module->name);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (auto& pair : arm_module_manager::get())
|
||||||
|
{
|
||||||
|
const auto module = pair.second;
|
||||||
|
|
||||||
for (auto& function : module->functions)
|
for (auto& function : module->functions)
|
||||||
{
|
{
|
||||||
|
|
|
@ -95,6 +95,11 @@ public:
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static const auto& get()
|
||||||
|
{
|
||||||
|
return access();
|
||||||
|
}
|
||||||
|
|
||||||
static const arm_static_module SceAppMgr;
|
static const arm_static_module SceAppMgr;
|
||||||
static const arm_static_module SceAppUtil;
|
static const arm_static_module SceAppUtil;
|
||||||
static const arm_static_module SceAudio;
|
static const arm_static_module SceAudio;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue