X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fgpu3.cpp;h=a65345177c45a5d446bdd4a756e247f9c4be3bfb;hb=135a0c52a2bcbcc37192c61801de6e9c80aeebff;hp=c7a90651960ec0e3583a83cff39f9fb3194b377d;hpb=6283b73b183c64962f95d0e3750456de48468854;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; } }