mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +00:00
Merge pull request #2199 from aliaspider/master
(CTR/3DS) video driver: better detection of frames allocated with
This commit is contained in:
commit
db4430ed37
@ -455,7 +455,7 @@ static bool ctr_frame(void* data, const void* frame,
|
|||||||
|
|
||||||
if(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 */
|
&& !((u32)frame & 0x7F) /* 128-byte aligned */
|
||||||
&& !((pitch) & 0xF)) /* 16-byte aligned */
|
&& !((pitch) & 0xF)) /* 16-byte aligned */
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user