| 384 | uint8* MMC5BGVRAMADR(uint32 A); |
| 385 | |
| 386 | uint8 READPAL_MOTHEROFALL(uint32 A) |
| 387 | { |
| 388 | if(!(A & 3)) { |
| 389 | if(!(A & 0xC)) |
| 390 | return READPAL(0x00); |
| 391 | else |
| 392 | return READUPAL(((A & 0xC) >> 2) - 1); |
| 393 | } |
| 394 | else |
| 395 | return READPAL(A & 0x1F); |
| 396 | } |
| 397 | |
| 398 | //this duplicates logic which is embedded in the ppu rendering code |
| 399 | //which figures out where to get CHR data from depending on various hack modes |
no outgoing calls
no test coverage detected