]> Chaos Git - corbenik/ctrulib.git/commitdiff
Fixed home menu display of suspended 2D mode app
authorMatthias Lutter <matthias@lutter.cc>
Wed, 26 Oct 2016 13:45:24 +0000 (15:45 +0200)
committerMatthias Lutter <matthias@lutter.cc>
Wed, 26 Oct 2016 13:45:24 +0000 (15:45 +0200)
libctru/source/services/apt.c

index ec84449d0874089af09583c01695de02336390b3..ccd7957b1ff4152ca7e4a0fc330777758167f23f 100644 (file)
@@ -152,7 +152,7 @@ static void aptInitCaptureInfo(aptCaptureBufInfo* capinfo)
        GSPGPU_ImportDisplayCaptureInfo(&gspcapinfo);
 
        // Fill in display-capture info for NS.
-       capinfo->is3D = gspcapinfo.screencapture[0].framebuf0_vaddr != gspcapinfo.screencapture[0].framebuf1_vaddr;
+       capinfo->is3D = (gspcapinfo.screencapture[0].format & 0x20) != 0;
        
        capinfo->top.format    = gspcapinfo.screencapture[0].format & 0x7;
        capinfo->bottom.format = gspcapinfo.screencapture[1].format & 0x7;