#include <stdlib.h>
#include <string.h>
#include "../gpulib/gpu.h"
+#include "arm_features.h"
#define u8 uint8_t
#define s8 int8_t
unsigned int *list_end = list + list_len;
linesInterlace = force_interlace;
-#ifndef __ARM_ARCH_7A__ /* XXX */
- linesInterlace |= gpu.status.interlace;
+#ifdef HAVE_PRE_ARMV7 /* XXX */
+ linesInterlace |= !!(gpu.status & PSX_GPU_STATUS_INTERLACE);
#endif
for (; list < list_end; list += 1 + len)