mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 18:28:31 +00:00
(CTR/3DS) video driver: better detection of frames allocated with
linearAlloc.
This commit is contained in:
parent
cb4f032dd7
commit
68e2c306a9
@ -455,7 +455,7 @@ static bool ctr_frame(void* data, const void* frame,
|
||||
|
||||
if(frame)
|
||||
{
|
||||
if(((((u32)(frame)) >= 0x14000000 && ((u32)(frame)) < 0x1c000000)) /* frame in linear memory */
|
||||
if(((((u32)(frame)) >= 0x14000000 && ((u32)(frame)) < 0x40000000)) /* frame in linear memory */
|
||||
&& !((u32)frame & 0x7F) /* 128-byte aligned */
|
||||
&& !((pitch) & 0xF)) /* 16-byte aligned */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user