mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
Bugfix
This commit is contained in:
parent
6cbdeb9411
commit
316bd8d155
1 changed files with 14 additions and 12 deletions
|
@ -172,20 +172,22 @@ static const g_module_list[] =
|
||||||
|
|
||||||
void ModuleManager::Init()
|
void ModuleManager::Init()
|
||||||
{
|
{
|
||||||
if (!initialized)
|
if (initialized)
|
||||||
{
|
{
|
||||||
clear_ppu_functions();
|
Close();
|
||||||
|
|
||||||
for (auto& m : g_module_list)
|
|
||||||
{
|
|
||||||
if (m.module)
|
|
||||||
{
|
|
||||||
m.module->Init();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
initialized = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clear_ppu_functions();
|
||||||
|
|
||||||
|
for (auto& m : g_module_list)
|
||||||
|
{
|
||||||
|
if (m.module)
|
||||||
|
{
|
||||||
|
m.module->Init();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
ModuleManager::ModuleManager()
|
ModuleManager::ModuleManager()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue