Previous 199869 Revisions Next

r18172 Thursday 27th September, 2012 at 09:44:17 UTC by hap
unclear comments
(and in x board case, height is always>0)
[src/mame/video]sega16sp.c

trunk/src/mame/video/sega16sp.c
r18171r18172
194194      // initialize the end address to the start address
195195      data[7] = addr;
196196
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
198198      if (top >= bottom || bank == 255)
199199         continue;
200200
r18171r18172
373373      // initialize the end address to the start address
374374      data[7] = addr;
375375
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
377377      if (top >= bottom || bank == 255)
378378         continue;
379379
r18171r18172
553553      // initialize the end address to the start address
554554      data[7] = addr;
555555
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
557557      if (top >= bottom || bank == 255)
558558         continue;
559559
r18171r18172
735735      UINT16 &data7 = data[m_addrmap[7]];
736736      data7 = addr;
737737
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
739739      if (top >= bottom || bank == 255)
740740         continue;
741741
r18171r18172
11341134      // initialize the end address to the start address
11351135      data[7] = addr;
11361136
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)
11391139         continue;
11401140
11411141      // clamp to within the memory region size
r18171r18172
13251325      visited[next] = 1;
13261326      next = data[7] & 0xfff;
13271327
1328      // if hidden, or top greater than/equal to bottom, or invalid bank, punt
1328      // if hidden, or invalid height, punt
13291329      if (hide || height == 0)
13301330         continue;
13311331

Previous 199869 Revisions Next


© 1997-2024 The MAME Team