trunk/src/mame/drivers/coolridr.c
| r21315 | r21316 | |
| 996 | 996 | |
| 997 | 997 | // DEBUG: Draw 16x16 block |
| 998 | 998 | UINT32* line; |
| 999 | |
| 999 | 1000 | if (blit_rotate) |
| 1000 | 1001 | { |
| 1001 | 1002 | if (used_flipy) |
| 1002 | 1003 | { |
| 1003 | | for (int y = 0; y < 16; y++) |
| 1004 | for (int y = 0; y < blockhigh; y++) |
| 1004 | 1005 | { |
| 1005 | 1006 | const int drawy = pixelOffsetY+y; |
| 1006 | 1007 | if ((drawy>383) || (drawy<0)) continue; |
| r21315 | r21316 | |
| 1009 | 1010 | |
| 1010 | 1011 | if (used_flipx) |
| 1011 | 1012 | { |
| 1012 | | for (int x = 0; x < 16; x++) |
| 1013 | for (int x = 0; x < blockwide; x++) |
| 1013 | 1014 | { |
| 1014 | 1015 | const int drawx = pixelOffsetX+x; |
| 1015 | 1016 | if ((drawx>=495 || drawx<0)) continue; |
| r21315 | r21316 | |
| 1022 | 1023 | } |
| 1023 | 1024 | else |
| 1024 | 1025 | { |
| 1025 | | for (int x = 0; x < 16; x++) |
| 1026 | for (int x = 0; x < blockwide; x++) |
| 1026 | 1027 | { |
| 1027 | 1028 | const int drawx = pixelOffsetX+x; |
| 1028 | 1029 | if ((drawx>=495 || drawx<0)) continue; |
| r21315 | r21316 | |
| 1037 | 1038 | } |
| 1038 | 1039 | else |
| 1039 | 1040 | { |
| 1040 | | for (int y = 0; y < 16; y++) |
| 1041 | for (int y = 0; y < blockhigh; y++) |
| 1041 | 1042 | { |
| 1042 | 1043 | const int drawy = pixelOffsetY+y; |
| 1043 | 1044 | if ((drawy>383) || (drawy<0)) continue; |
| r21315 | r21316 | |
| 1046 | 1047 | |
| 1047 | 1048 | if (used_flipx) |
| 1048 | 1049 | { |
| 1049 | | for (int x = 0; x < 16; x++) |
| 1050 | for (int x = 0; x < blockwide; x++) |
| 1050 | 1051 | { |
| 1051 | 1052 | const int drawx = pixelOffsetX+x; |
| 1052 | 1053 | if ((drawx>=495 || drawx<0)) continue; |
| r21315 | r21316 | |
| 1059 | 1060 | } |
| 1060 | 1061 | else |
| 1061 | 1062 | { |
| 1062 | | for (int x = 0; x < 16; x++) |
| 1063 | for (int x = 0; x < blockwide; x++) |
| 1063 | 1064 | { |
| 1064 | 1065 | const int drawx = pixelOffsetX+x; |
| 1065 | 1066 | if ((drawx>=495 || drawx<0)) continue; |
| r21315 | r21316 | |
| 1077 | 1078 | { |
| 1078 | 1079 | if (used_flipy) |
| 1079 | 1080 | { |
| 1080 | | for (int y = 0; y < 16; y++) |
| 1081 | for (int y = 0; y < blockhigh; y++) |
| 1081 | 1082 | { |
| 1082 | 1083 | const int drawy = pixelOffsetY+y; |
| 1083 | 1084 | if ((drawy>383) || (drawy<0)) continue; |
| r21315 | r21316 | |
| 1086 | 1087 | |
| 1087 | 1088 | if (used_flipx) |
| 1088 | 1089 | { |
| 1089 | | for (int x = 0; x < 16; x++) |
| 1090 | for (int x = 0; x < blockwide; x++) |
| 1090 | 1091 | { |
| 1091 | 1092 | const int drawx = pixelOffsetX+x; |
| 1092 | 1093 | if ((drawx>=495 || drawx<0)) continue; |
| r21315 | r21316 | |
| 1099 | 1100 | } |
| 1100 | 1101 | else |
| 1101 | 1102 | { |
| 1102 | | for (int x = 0; x < 16; x++) |
| 1103 | for (int x = 0; x < blockwide; x++) |
| 1103 | 1104 | { |
| 1104 | 1105 | const int drawx = pixelOffsetX+x; |
| 1105 | 1106 | if ((drawx>=495 || drawx<0)) continue; |