mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 07:21:18 +12:00
Initial support for title switching + better Wii U menu compatibility (#907)
This commit is contained in:
parent
bfbeeae6f6
commit
2200cc0ddf
95 changed files with 2549 additions and 746 deletions
|
@ -103,7 +103,7 @@ void MMURange::mapMem()
|
|||
|
||||
void MMURange::unmapMem()
|
||||
{
|
||||
cemu_assert_debug(false);
|
||||
MemMapper::FreeMemory(memory_base + baseAddress, size, true);
|
||||
m_isMapped = false;
|
||||
}
|
||||
|
||||
|
@ -196,6 +196,15 @@ void memory_mapForCurrentTitle()
|
|||
}
|
||||
}
|
||||
|
||||
void memory_unmapForCurrentTitle()
|
||||
{
|
||||
for (auto& itr : g_mmuRanges)
|
||||
{
|
||||
if (itr->isMapped() && !itr->isMappedEarly())
|
||||
itr->unmapMem();
|
||||
}
|
||||
}
|
||||
|
||||
void memory_logModifiedMemoryRanges()
|
||||
{
|
||||
auto gfxPackMappings = GraphicPack2::GetActiveRAMMappings();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue