mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +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…
x
Reference in New Issue
Block a user