mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Common: namespace MemoryUtil
This commit is contained in:
@ -244,7 +244,7 @@ void Init(bool hle)
|
||||
g_ARAM.wii_mode = false;
|
||||
g_ARAM.size = ARAM_SIZE;
|
||||
g_ARAM.mask = ARAM_MASK;
|
||||
g_ARAM.ptr = (u8*)AllocateMemoryPages(g_ARAM.size);
|
||||
g_ARAM.ptr = static_cast<u8*>(Common::AllocateMemoryPages(g_ARAM.size));
|
||||
}
|
||||
|
||||
memset(&g_audioDMA, 0, sizeof(g_audioDMA));
|
||||
@ -270,7 +270,7 @@ void Shutdown()
|
||||
{
|
||||
if (!g_ARAM.wii_mode)
|
||||
{
|
||||
FreeMemoryPages(g_ARAM.ptr, g_ARAM.size);
|
||||
Common::FreeMemoryPages(g_ARAM.ptr, g_ARAM.size);
|
||||
g_ARAM.ptr = nullptr;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user