X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgpu3.cpp;h=a65345177c45a5d446bdd4a756e247f9c4be3bfb;hb=7b8f7a2f13727201b2e6b6bcdbe60e31e56cfcd9;hp=c7a90651960ec0e3583a83cff39f9fb3194b377d;hpb=fa566a2c8ec532eb5325b4d5a663fb2a7d72adc6;p=virtualjaguar diff --git a/src/gpu3.cpp b/src/gpu3.cpp index c7a9065..a653451 100644 --- a/src/gpu3.cpp +++ b/src/gpu3.cpp @@ -40,13 +40,13 @@ void gpu3_init(void) { int result = 1; if (j & 1) - if (i & ZFLAG) result = 0; + if (i & ZERO_FLAG) result = 0; if (j & 2) - if (!(i & ZFLAG)) result = 0; + if (!(i & ZERO_FLAG)) result = 0; if (j & 4) - if (i & (CFLAG << (j >> 4))) result = 0; + if (i & (CARRY_FLAG << (j >> 4))) result = 0; if (j & 8) - if (!(i & (CFLAG << (j >> 4)))) result = 0; + if (!(i & (CARRY_FLAG << (j >> 4)))) result = 0; condition_table[i * 32 + j] = result; } }