Merge pull request #277 from joolswills/armv6_unai_fix
authornotaz <notasas@gmail.com>
Wed, 14 Dec 2022 00:01:41 +0000 (02:01 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Dec 2022 00:01:41 +0000 (02:01 +0200)
Fix building gpu_unai on armv6

plugins/gpu_unai/gpulib_if.cpp

index 2dedbf8..45eac41 100644 (file)
@@ -173,7 +173,7 @@ int do_cmd_list(unsigned int *list, int list_len, int *last_cmd)
 
   linesInterlace = force_interlace;
 #ifdef HAVE_PRE_ARMV7 /* XXX */
-  linesInterlace |= gpu.status.interlace;
+  linesInterlace |= !!(gpu.status & PSX_GPU_STATUS_INTERLACE);
 #endif
 
   for (; list < list_end; list += 1 + len)