mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-25 01:00:01 +00:00
Symbian: Over allocate VRAM (x4) in attempt to solve crash caused by 0.9.8-601. This brings allocation to the same as before the commit. See #6103
This commit is contained in:
parent
95003cb77d
commit
f94f28fb4a
@ -297,6 +297,10 @@ static bool Memory_TryBase(u8 *base, const MemoryView *views, int num_views, u32
|
||||
} else {
|
||||
#ifdef __SYMBIAN32__
|
||||
*(view.out_ptr_low) = (u8*)((int)arena->memmap->Base() + view.virtual_address);
|
||||
// Over allocate VRAM to span the mirrors. Hopefully resolves crash.
|
||||
if (i == 2)
|
||||
arena->memmap->Commit(view.virtual_address & 0x3FFFFFFF, view.size * 4);
|
||||
else
|
||||
arena->memmap->Commit(view.virtual_address & 0x3FFFFFFF, view.size);
|
||||
}
|
||||
*(view.out_ptr) = (u8*)((int)arena->memmap->Base() + view.virtual_address & 0x3FFFFFFF);
|
||||
|
Loading…
Reference in New Issue
Block a user