mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 14:01:17 +12:00
nn_pdm: Refactor code to use new module structure
This commit is contained in:
parent
9398c0ca6b
commit
67f7ce815c
3 changed files with 117 additions and 32 deletions
|
@ -530,7 +530,8 @@ namespace CafeSystem
|
|||
{
|
||||
// entries in this list are ordered by initialization order. Shutdown in reverse order
|
||||
iosu::kernel::GetModule(),
|
||||
iosu::fpd::GetModule()
|
||||
iosu::fpd::GetModule(),
|
||||
iosu::pdm::GetModule(),
|
||||
};
|
||||
|
||||
// initialize all subsystems which are persistent and don't depend on a game running
|
||||
|
@ -571,7 +572,6 @@ namespace CafeSystem
|
|||
iosu::iosuAcp_init();
|
||||
iosu::boss_init();
|
||||
iosu::nim::Initialize();
|
||||
iosu::pdm::Initialize();
|
||||
iosu::odm::Initialize();
|
||||
// init Cafe OS
|
||||
avm::Initialize();
|
||||
|
@ -840,7 +840,6 @@ namespace CafeSystem
|
|||
coreinit::OSSchedulerBegin(3);
|
||||
else
|
||||
coreinit::OSSchedulerBegin(1);
|
||||
iosu::pdm::StartTrackingTime(GetForegroundTitleId());
|
||||
}
|
||||
|
||||
void LaunchForegroundTitle()
|
||||
|
@ -970,8 +969,6 @@ namespace CafeSystem
|
|||
RPLLoader_ResetState();
|
||||
for(auto it = s_iosuModules.rbegin(); it != s_iosuModules.rend(); ++it)
|
||||
(*it)->TitleStop();
|
||||
// stop time tracking
|
||||
iosu::pdm::Stop();
|
||||
// reset Cemu subsystems
|
||||
PPCRecompiler_Shutdown();
|
||||
GraphicPack2::Reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue