X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fobjectp.cpp;h=db643afd087838320b4bd1f2223bea5d01c8af5c;hb=683f283e1328164c176618088c34408ea6c03cf7;hp=fc1c64829ebd1eb556bbe0c9b7b396d7b80988c3;hpb=9957c991c409149a658a2080bb9341fa1400acfc;p=virtualjaguar diff --git a/src/objectp.cpp b/src/objectp.cpp index fc1c648..db643af 100644 --- a/src/objectp.cpp +++ b/src/objectp.cpp @@ -76,11 +76,11 @@ void op_init(void) for(int i=0; i<256*256; i++) { int y = (i >> 8) & 0xFF; - int dy = (INT8)i; // Sign extend the Y index + int dy = (int8)i; // Sign extend the Y index int c1 = (i >> 8) & 0x0F; - int dc1 = (INT8)(i << 4) >> 4; // Sign extend the R index + int dc1 = (int8)(i << 4) >> 4; // Sign extend the R index int c2 = (i >> 12) & 0x0F; - int dc2 = (INT8)(i & 0xF0) >> 4; // Sign extend the C index + int dc2 = (int8)(i & 0xF0) >> 4; // Sign extend the C index y += dy;