aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/test.c
diff options
context:
space:
mode:
authornotaz2012-01-04 23:26:32 +0200
committernotaz2012-01-05 01:41:14 +0200
commit5440b88ee29ee5b8929fcf338dfc8f476468514d (patch)
tree512f913cf382a375f573cf6d017a24eda694887f /plugins/gpu_neon/test.c
parent69b09c0d33efd71ebe4886cfae41c162803683d5 (diff)
downloadpcsx_rearmed-5440b88ee29ee5b8929fcf338dfc8f476468514d.tar.gz
pcsx_rearmed-5440b88ee29ee5b8929fcf338dfc8f476468514d.tar.bz2
pcsx_rearmed-5440b88ee29ee5b8929fcf338dfc8f476468514d.zip
gpu_neon: add some intelace mode handling
a bit of refactoring too
Diffstat (limited to 'plugins/gpu_neon/test.c')
-rw-r--r--plugins/gpu_neon/test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/gpu_neon/test.c b/plugins/gpu_neon/test.c
index be271b6..e523e20 100644
--- a/plugins/gpu_neon/test.c
+++ b/plugins/gpu_neon/test.c
@@ -89,6 +89,8 @@ int main(int argc, char *argv[])
pcnt_init();
renderer_init();
memcpy(gpu.vram, state.vram, sizeof(gpu.vram));
+ if ((state.gpu_register[8] & 0x24) == 0x24)
+ renderer_set_interlace(1, !(state.status >> 31));
start_cycles = pcnt_get();