trunk/src/mame/video/sega16sp.c
r18171 | r18172 | |
194 | 194 | // initialize the end address to the start address |
195 | 195 | data[7] = addr; |
196 | 196 | |
197 | | // if hidden, or top greater than/equal to bottom, or invalid bank, punt |
| 197 | // if top greater than/equal to bottom, or invalid bank, punt |
198 | 198 | if (top >= bottom || bank == 255) |
199 | 199 | continue; |
200 | 200 | |
r18171 | r18172 | |
373 | 373 | // initialize the end address to the start address |
374 | 374 | data[7] = addr; |
375 | 375 | |
376 | | // if hidden, or top greater than/equal to bottom, or invalid bank, punt |
| 376 | // if top greater than/equal to bottom, or invalid bank, punt |
377 | 377 | if (top >= bottom || bank == 255) |
378 | 378 | continue; |
379 | 379 | |
r18171 | r18172 | |
553 | 553 | // initialize the end address to the start address |
554 | 554 | data[7] = addr; |
555 | 555 | |
556 | | // if hidden, or top greater than/equal to bottom, or invalid bank, punt |
| 556 | // if top greater than/equal to bottom, or invalid bank, punt |
557 | 557 | if (top >= bottom || bank == 255) |
558 | 558 | continue; |
559 | 559 | |
r18171 | r18172 | |
735 | 735 | UINT16 &data7 = data[m_addrmap[7]]; |
736 | 736 | data7 = addr; |
737 | 737 | |
738 | | // if hidden, or top greater than/equal to bottom, or invalid bank, punt |
| 738 | // if top greater than/equal to bottom, or invalid bank, punt |
739 | 739 | if (top >= bottom || bank == 255) |
740 | 740 | continue; |
741 | 741 | |
r18171 | r18172 | |
1134 | 1134 | // initialize the end address to the start address |
1135 | 1135 | data[7] = addr; |
1136 | 1136 | |
1137 | | // if hidden, or top greater than/equal to bottom, or invalid bank, punt |
1138 | | if (hide || height == 0) |
| 1137 | // if hidden, punt |
| 1138 | if (hide) |
1139 | 1139 | continue; |
1140 | 1140 | |
1141 | 1141 | // clamp to within the memory region size |
r18171 | r18172 | |
1325 | 1325 | visited[next] = 1; |
1326 | 1326 | next = data[7] & 0xfff; |
1327 | 1327 | |
1328 | | // if hidden, or top greater than/equal to bottom, or invalid bank, punt |
| 1328 | // if hidden, or invalid height, punt |
1329 | 1329 | if (hide || height == 0) |
1330 | 1330 | continue; |
1331 | 1331 | |